reordered js

This commit is contained in:
Armen Vartan
2014-12-01 15:22:51 -05:00
parent 363ef9b198
commit cedce54eef
47 changed files with 0 additions and 0 deletions

View File

@ -0,0 +1,24 @@
//Do not edit this list
var challengeArray = ["New York", "Dog", "Philly", "Dog", "Jersey", "Dog", "Cali", "Dog"];
// your code goes in this function
function getDogs(array){
}
// call the function
// do not edit the assert statements
function assert(testnum, bool){
console.log('Test ' + testnum + ": " + bool)
}
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!
//Write a custom test that allows it to prove challengeArray's equality.