Skip to content

Commit 8a2485a

Browse files
committed
JS: Address some comments
1 parent aa5cccd commit 8a2485a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

javascript/ql/lib/semmle/javascript/endpoints/EndpointNaming.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@
88
* However, there are cases where classes and functions can be exposed to client
99
* code without being accessible as a qualified name. For example;
1010
* ```js
11-
* // 'Foo' is internal, but clients can reach its methods via `getFoo().m()`
11+
* // 'Foo' is internal, but clients can call its methods, e.g. `getFoo().m()`
1212
* class Foo {
1313
* m() {}
1414
* }
1515
* export function getFoo() {
1616
* return new Foo();
1717
* }
1818
*
19-
* // Clients can reach m() via getObj().m()
19+
* // Clients can call m() via getObj().m()
2020
* export function getObj() {
2121
* return {
2222
* m() {}

0 commit comments

Comments
 (0)