cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Multiline Javascript completely broken in console...

FinTechBoy
Making moves

Even when opening the multiline editor the console doesn't seem to recognize the request above the current line.  Something as simple as this fails in the console window. 

var checkboxes = document.querySelectorAll('input[type="checkbox"]');
checkboxes.forEach(checkbox => {
checkbox.checked = true;
});

Uncaught SyntaxError: redeclaration of const checkboxes

0 REPLIES 0