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

Участник с
wido

Недавняя активность в документации

Просмотреть всю активность
Страница Дата Комментарий

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