Update simple-loops.js
This commit is contained in:
parent
59b7f7df9b
commit
02c12af2ae
@ -15,10 +15,10 @@ function getDogs(array){
|
|||||||
// do not edit the assert statements
|
// do not edit the assert statements
|
||||||
|
|
||||||
function assert(testnum, bool){
|
function assert(testnum, bool){
|
||||||
console.log('Test ' + testnum + ": " + bool)
|
console.log('Test ' + testnum + ": " + bool);
|
||||||
}
|
}
|
||||||
|
|
||||||
assert(1, challengeArray === ['New York', 'Burger', 'Philly', 'Burger', 'Jersey', 'Burger', 'Cali', 'Burger']);
|
assert(1, challengeArray === ['New York', 'Burger', 'Philly', 'Burger', 'Jersey', 'Burger', 'Cali', 'Burger']);
|
||||||
|
|
||||||
//Make sure you have the correct array - is the assert test working? Why not? Google!
|
//Make sure you have the correct array - is the assert test working? Why not? Google!
|
||||||
//Write a custom test that allows it to prove challengeArray's equality.
|
//Write a custom test that allows it to prove challengeArray's equality.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user