From eb6aa85639898f1c5a2f56718941454e8d993b98 Mon Sep 17 00:00:00 2001 From: Samuel Rabinowitz <5happy1@users.noreply.github.com> Date: Sat, 28 Dec 2019 16:50:01 -0700 Subject: [PATCH] Add missing semicolon for consistency --- javascript.html.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]