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 {
33
33
/**
34
34
* Provides predicates for associating access paths with data flow nodes.
35
35
*
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
37
37
* that `x` refers to, as in the following sample:
38
38
* ```
39
39
* function f() {
@@ -240,7 +240,7 @@ module AccessPath {
240
240
* ```
241
241
* function f(x) {
242
242
* x.foo.bar = class {};
243
- * x.foo = { bar: class() };
243
+ * x.foo = { bar: class {} };
244
244
* let alias = x;
245
245
* alias.foo.bar = class {};
246
246
* }
@@ -338,7 +338,7 @@ module AccessPath {
338
338
* ```
339
339
* function f(x) {
340
340
* x.foo.bar = class {};
341
- * x.foo = { bar: class() };
341
+ * x.foo = { bar: class {} };
342
342
* let alias = x;
343
343
* alias.foo.bar = class {};
344
344
* }
@@ -355,7 +355,7 @@ module AccessPath {
355
355
* Only gets the immediate right-hand side of an assignment or property or a global declaration,
356
356
* not nodes that transitively flow there.
357
357
*
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`:
359
359
* ```
360
360
* foo.bar = class {};
361
361
* foo = { bar: class {} };
You can’t perform that action at this time.
0 commit comments