Please note, this is a STATIC archive of website developer.mozilla.org from November 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

wido

Członek od
wido

Ostatnia aktywność

Zobacz całą aktywność
Strona Data Komentarz

String.prototype.indexOf()


Clarify that searching for an empty string will return 0.

DOMTokenList


Tested with this code document.getElementsByClassName('container')[0].classList.add('test') and the test class is added to the first Element. Tested in 9.1.1