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.

Tinklern

Registrato in data
Tinklern

Aggiornamenti alla documentazione

Mostra tutte le attività
Pagina Data Commento

Array.prototype.splice()


Disregard previous edit, examples are not stateless. -- reverted var myFish = ['angel', 'clown', 'drum', 'mandarin', 'surgeon']; to var myFish = ['angel', 'clown', 'mandarin', 'surgeon'];

Array.prototype.splice()


Code Sample was incorrect. var myFish = ['angel', 'clown', 'mandarin', 'surgeon']; was assumed to be var myFish = ['angel', 'clown', 'drum', 'mandarin', 'surgeon']; in all later code samples. This made index references incorrect.