diff options
author | Max Schumacher <maximilianbschumacher@gmail.com> | 2020-01-28 19:18:25 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-28 19:18:25 +0100 |
commit | e2592a9a35bc82ba3da29a8e06d5640d89a1757a (patch) | |
tree | 85b5fd0dd0981205b0ee9f4f6793c97fb86861ac /javascript.html.markdown | |
parent | 554e8d979f52225a04e79119f5e9757a802a7245 (diff) | |
parent | eb6aa85639898f1c5a2f56718941454e8d993b98 (diff) |
Merge pull request #3803 from 5happy1/patch-1
[javascript/en] Add missing semicolon for consistency
Diffstat (limited to 'javascript.html.markdown')
-rw-r--r-- | javascript.html.markdown | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/javascript.html.markdown b/javascript.html.markdown index ce9772ca..ad1af76a 100644 --- a/javascript.html.markdown +++ b/javascript.html.markdown @@ -188,7 +188,7 @@ someVar = myArray.pop(); // Remove last element and return it // Join all elements of an array with semicolon var myArray0 = [32,false,"js",12,56,90]; -myArray0.join(";") // = "32;false;js;12;56;90" +myArray0.join(";"); // = "32;false;js;12;56;90" // Get subarray of elements from index 1 (include) to 4 (exclude) myArray0.slice(1,4); // = [false,"js",12] |