File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
javascript/ql/src/semmle/javascript Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ deprecated module GlobalAccessPath {
3333/**
3434 * Provides predicates for associating access paths with data flow nodes.
3535 *
36- * For example, `AccessPath. getAReferenceTo(x)` can be used to obtain the global access path
36+ * For example, `AccessPath:: getAReferenceTo(x)` can be used to obtain the global access path
3737 * that `x` refers to, as in the following sample:
3838 * ```
3939 * function f() {
@@ -240,7 +240,7 @@ module AccessPath {
240240 * ```
241241 * function f(x) {
242242 * x.foo.bar = class {};
243- * x.foo = { bar: class() };
243+ * x.foo = { bar: class {} };
244244 * let alias = x;
245245 * alias.foo.bar = class {};
246246 * }
@@ -338,7 +338,7 @@ module AccessPath {
338338 * ```
339339 * function f(x) {
340340 * x.foo.bar = class {};
341- * x.foo = { bar: class() };
341+ * x.foo = { bar: class {} };
342342 * let alias = x;
343343 * alias.foo.bar = class {};
344344 * }
@@ -355,7 +355,7 @@ module AccessPath {
355355 * Only gets the immediate right-hand side of an assignment or property or a global declaration,
356356 * not nodes that transitively flow there.
357357 *
358- * For example, the class nodes below are all assignmetns to `foo.bar`:
358+ * For example, the class nodes below are all assignments to `foo.bar`:
359359 * ```
360360 * foo.bar = class {};
361361 * foo = { bar: class {} };
You can’t perform that action at this time.
0 commit comments