Challenge 13 not working??


#1

function allRocks(){
let letters = [‘A’,‘B’,‘C’,‘D’,‘E’,‘F’,‘G’,‘H’,‘I’,‘J’,‘K’,‘L’,‘M’,‘N’,‘O’,‘P’,‘Q’,‘R’,‘S’,‘T’,‘U’,‘V’,‘W’,‘X’,‘Y’,‘Z’];
let new_list = [];
for (var i =0; i < countRows(); i += 1 ){
for (var j = 0; j < countColumns(); j += 1){
var coordinate = letters[j] + (i +1).toString();
if (isRock(coordinate)){
new_list.push(coordinate);
}
}
}
return new_list;
}


#2

Hi there,

You might be using the wrong quotation characters and .
Make sure you use ' or " instead.

That might have just been caused by copy pasting from an editor.

Also make sure to implement the allCurrents() function as well.