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 ```