'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:
lumosmind 2019-10-28 16:27:55 +03:00 committed by GitHub
parent 70ca842bef
commit b5725a8be0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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: