From 4e5aef8b1ba494de307df2632ae8b698d136f9b6 Mon Sep 17 00:00:00 2001 From: Mojtaba Javan Date: Thu, 27 Dec 2018 06:20:25 +0330 Subject: [PATCH] Naming improvement `str` is used in the example too. --- 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 e13f4e94..c712a220 100644 --- a/1-js/05-data-types/05-array-methods/article.md +++ b/1-js/05-data-types/05-array-methods/article.md @@ -477,7 +477,7 @@ alert( str.split('') ); // t,e,s,t ``` ```` -The call [arr.join(str)](mdn:js/Array/join) does the reverse to `split`. It creates a string of `arr` items glued by `str` between them. +The call [arr.join(separator)](mdn:js/Array/join) does the reverse to `split`. It creates a string of `arr` items glued by `separator` between them. For instance: