A friend wrote some code for me, and there was one file with a weird syntax error in it. After a bit of hunting, I narrowed it down to this section of code, which should rep
In fact, you inserted unicode "i" instead of normal "i".
I get the fellow errors in VSCode:
',' expected. (1, 29)
',' expected. (2, 10)
Declaration or statement expected. (4, 3)
You can try evaluating "functіon" == "function" as well:
function compare() {
return "functіon" === "function"
}
console.log(compare())
function compare2() {
return "function" == "function"
}
console.log(compare2())