I’m doing the javascript challenges and trying to output the value of variables to debug, but doing console.log(myVar) in the code and the dev tools console isn
t showing anything.
(Edit: Yes I did open the dev tools console.)
(Edit: My code is
function largestOfFour(arr) { console.log(arr[0]); return arr; } largestOfFour([[4, 5, 1, 3], [13, 27, 18, 26], [32, 35, 37, 39], [1000, 1001, 857, 1]]);
)
What is going on?