JavaScript: fix typos in documentation

This commit is contained in:
Arthur Baars
2022-03-07 15:25:30 +01:00
parent 602538d1c1
commit eeb9a1d270

View File

@@ -235,12 +235,12 @@ module StringOps {
*/
class EndsWith extends DataFlow::Node instanceof EndsWith::Range {
/**
* Gets the `A` in `A.startsWith(B)`.
* Gets the `A` in `A.endsWith(B)`.
*/
DataFlow::Node getBaseString() { result = super.getBaseString() }
/**
* Gets the `B` in `A.startsWith(B)`.
* Gets the `B` in `A.endsWith(B)`.
*/
DataFlow::Node getSubstring() { result = super.getSubstring() }