Skip to content

Commit eeb9a1d

Browse files
committed
JavaScript: fix typos in documentation
1 parent 602538d commit eeb9a1d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

javascript/ql/lib/semmle/javascript/StringOps.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -235,12 +235,12 @@ module StringOps {
235235
*/
236236
class EndsWith extends DataFlow::Node instanceof EndsWith::Range {
237237
/**
238-
* Gets the `A` in `A.startsWith(B)`.
238+
* Gets the `A` in `A.endsWith(B)`.
239239
*/
240240
DataFlow::Node getBaseString() { result = super.getBaseString() }
241241

242242
/**
243-
* Gets the `B` in `A.startsWith(B)`.
243+
* Gets the `B` in `A.endsWith(B)`.
244244
*/
245245
DataFlow::Node getSubstring() { result = super.getSubstring() }
246246

0 commit comments

Comments
 (0)