Merge remote-tracking branch 'origin/staging' into staging
This commit is contained in:
@ -461,8 +461,8 @@
|
||||
],
|
||||
"tests": [
|
||||
"assert.deepEqual(slasher([1, 2, 3], 2), [3], 'should drop the first two elements');",
|
||||
"assert.deepEqual(slasher([1, 2, 3], 0), [1, 2, 3], 'should return all elements when n < 1');",
|
||||
"assert.deepEqual(slasher([1, 2, 3], 9), [], 'should return an empty array when n >= array.length');"
|
||||
"assert.deepEqual(slasher([1, 2, 3], 0), [1, 2, 3], 'should return all elements');",
|
||||
"assert.deepEqual(slasher([1, 2, 3], 9), [], 'should return an empty array');"
|
||||
],
|
||||
"MDNlinks": [
|
||||
"Array.slice()",
|
||||
|
@ -432,9 +432,9 @@
|
||||
"challengeSeed": [
|
||||
"//var array = [\"John\", 23];",
|
||||
"",
|
||||
"var myArray = [];",
|
||||
"// Only change code below this line.",
|
||||
"",
|
||||
"var myArray = [];",
|
||||
"",
|
||||
"// Only change code above this line.",
|
||||
"// We use this function to show you the value of your variable in your output box.",
|
||||
@ -457,9 +457,9 @@
|
||||
],
|
||||
"challengeSeed":[
|
||||
"var ourArray = [[\"the universe\", \"everything\", 42]];",
|
||||
"var myArray = [];",
|
||||
"// Only change code below this line.",
|
||||
"",
|
||||
"var myArray = [];",
|
||||
"",
|
||||
"// Only change code above this line.",
|
||||
"// We use this function to show you the value of your variable in your output box.",
|
||||
|
Reference in New Issue
Block a user