summaryrefslogtreecommitdiffhomepage
path: root/javascript.html.markdown
diff options
context:
space:
mode:
authorSamuel Rabinowitz <5happy1@users.noreply.github.com>2019-12-28 16:50:01 -0700
committerGitHub <noreply@github.com>2019-12-28 16:50:01 -0700
commiteb6aa85639898f1c5a2f56718941454e8d993b98 (patch)
treeb7c70c18431ac34b27bce1c21745ab1501c3558d /javascript.html.markdown
parenta068a103f530c987544629fe25d1d71ea8287f6f (diff)
Add missing semicolon for consistency
Diffstat (limited to 'javascript.html.markdown')
-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]