Merge pull request #945 from javascript-tutorial/lex111-patch-1
array-methods: wording
This commit is contained in:
commit
19196e3e98
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ That's natural, because `delete obj.key` removes a value by the `key`. It's all
|
||||||
|
|
||||||
So, special methods should be used.
|
So, special methods should be used.
|
||||||
|
|
||||||
The [arr.splice(str)](mdn:js/Array/splice) method is a swiss army knife for arrays. It can do everything: add, remove and insert elements.
|
The [arr.splice(str)](mdn:js/Array/splice) method is a swiss army knife for arrays. It can do everything: insert, remove and replace elements.
|
||||||
|
|
||||||
The syntax is:
|
The syntax is:
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue