archives

« Bugzilla Issues Index

#1688 — Typo in String startsWith/endsWith


15.5.3.22 String.prototype.startsWith (searchString [, position ] )

10. Let searchLength be the number of elements in searchString.

Should be: 10. Let searchLength be the number of elements in __searchStr__.


15.5.3.23 String.prototype.endsWith (searchString [, endPosition] )

10. Let searchLength be the number of elements in searchString.

Should be: 10. Let searchLength be the number of elements in __searchStr__.


fixed in rev17 editor's draft


fixed in rev17, August 23, 2013 draft