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

wido

Lid sinds
wido

Recente documentactiviteit

Alle activiteit weergeven
Pagina Datum Reactie

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