Board Thread:Support Requests - Getting Technical/@comment-35337233-20190520021903

Hi there, I was playing with my common.js, and find out the Fandom seems not support the for ...of loop, bc in the console of the browser, I always get the error message of Parse error: Unexpected token on the line where for ...of loop is.

So I use this code to test in both browser's console and my common.js with this page:

const number = document.querySelectorAll("tr td:nth-child(1)");

for(var numberHTML of number){

numberHTML.innerHTML = "999";

}

In console it works well, but once I put it in my common.js, Unexpected token error came again. 