From 98507d49ee044f5aee10179c91f032188d3257c8 Mon Sep 17 00:00:00 2001 From: zivb Date: Tue, 18 Apr 2017 11:51:22 +0300 Subject: [PATCH] Update article.md --- 1-js/05-data-types/03-string/article.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/1-js/05-data-types/03-string/article.md b/1-js/05-data-types/03-string/article.md index 8cc68e80..66b0eed1 100644 --- a/1-js/05-data-types/03-string/article.md +++ b/1-js/05-data-types/03-string/article.md @@ -379,7 +379,7 @@ There are 3 methods in JavaScript to get a substring: `substring`, `substr` and ```js run let str = "stringify"; - alert( str.slice(0,5) ); // 'string', the substring from 0 to 5 (not including 5) + alert( str.slice(0,5) ); // 'strin', the substring from 0 to 5 (not including 5) alert( str.slice(0,1) ); // 's', from 0 to 1, but not including 1, so only character at 0 ```