archives

« Bugzilla Issues Index

#3542 — 21.1.3.6, 21.1.3.7, 21.1.3.18: Unnecessary type check


21.1.3.6 String.prototype.endsWith ( searchString [ , endPosition] )
21.1.3.7 String.prototype.includes ( searchString [ , position ] )
21.1.3.18 String.prototype.startsWith ( searchString [, position ] )


The `Type(...) is Object` test is not necessary, see step 1 of IsRegExp.


ixed in rev31 editor's draft


In Rev31