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

Membro desde
wido

Documentos com atividade recente

Ver toda a atividade
Página Data Comentar

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