From b5725a8be06dc2c37d1bb9192831454de28b3232 Mon Sep 17 00:00:00 2001 From: lumosmind <12192118+lumosmind@users.noreply.github.com> Date: Mon, 28 Oct 2019 16:27:55 +0300 Subject: [PATCH] 'str' inside of 'start' splice method's minimum parameter is 'start' and it is number type. In this tutorial 'str' stands for string parameters. --- 1-js/05-data-types/05-array-methods/article.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/1-js/05-data-types/05-array-methods/article.md b/1-js/05-data-types/05-array-methods/article.md index 674f64fe..afba5bc8 100644 --- a/1-js/05-data-types/05-array-methods/article.md +++ b/1-js/05-data-types/05-array-methods/article.md @@ -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: