diff options
author | caminsha <c.96marco@hotmail.com> | 2020-01-31 03:24:14 +0100 |
---|---|---|
committer | caminsha <c.96marco@hotmail.com> | 2020-01-31 03:24:14 +0100 |
commit | 06b95ac17e6b48c58f5eb53c1aa8393fc4686d9c (patch) | |
tree | 25246d6961f3d8f5fefe0dddcfe64b31356761a0 /javascript.html.markdown | |
parent | 9b19efa3ce6c4797398dea585d9e4b5f13ae4060 (diff) | |
parent | 1ada1d35bb0d34afe41451c4921a7bb6c7ebe259 (diff) |
Merge remote-tracking branch 'upstream/master'
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] |