Merge pull request #3803 from 5happy1/patch-1

[javascript/en] Add missing semicolon for consistency
This commit is contained in:
Max Schumacher 2020-01-28 19:18:25 +01:00 committed by GitHub
commit e2592a9a35
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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]