Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 602538d commit eeb9a1dCopy full SHA for eeb9a1d
1 file changed
javascript/ql/lib/semmle/javascript/StringOps.qll
@@ -235,12 +235,12 @@ module StringOps {
235
*/
236
class EndsWith extends DataFlow::Node instanceof EndsWith::Range {
237
/**
238
- * Gets the `A` in `A.startsWith(B)`.
+ * Gets the `A` in `A.endsWith(B)`.
239
240
DataFlow::Node getBaseString() { result = super.getBaseString() }
241
242
243
- * Gets the `B` in `A.startsWith(B)`.
+ * Gets the `B` in `A.endsWith(B)`.
244
245
DataFlow::Node getSubstring() { result = super.getSubstring() }
246
0 commit comments