'str' inside of 'start'
splice method's minimum parameter is 'start' and it is number type. In this tutorial 'str' stands for string parameters.
This commit is contained in:
parent
70ca842bef
commit
b5725a8be0
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.
|
||||
|
||||
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 [arr.splice(start)](mdn:js/Array/splice) method is a swiss army knife for arrays. It can do everything: insert, remove and replace elements.
|
||||
|
||||
The syntax is:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue