summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMax Schumacher <maximilianbschumacher@gmail.com>2020-01-28 19:18:25 +0100
committerGitHub <noreply@github.com>2020-01-28 19:18:25 +0100
commite2592a9a35bc82ba3da29a8e06d5640d89a1757a (patch)
tree85b5fd0dd0981205b0ee9f4f6793c97fb86861ac
parent554e8d979f52225a04e79119f5e9757a802a7245 (diff)
parenteb6aa85639898f1c5a2f56718941454e8d993b98 (diff)
Merge pull request #3803 from 5happy1/patch-1
[javascript/en] Add missing semicolon for consistency
-rw-r--r--javascript.html.markdown2
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]