JS Illegal Character
Can't for the life of me figure this out.
I get "Uncaught SyntaxError: illegal character U+2265"
Any suggestions? TIA
13 Replies
My suggestion is to remove the illegal character and use proper syntax :p
≥
is not a valid operator in JS: you need to use the >=
operator.Agreed
Thank you. Thats what I have been reading about. Just wanted to make sure.
👍
another option (ignore, just for fun)
Uncaught SyntaxError: expected expression, got '=>'
It's >= not =>
If the snippet you pasted is accurate to what you have in your code, that error doesnt concern the code on that line.
Ok the snippet is accurate...I will have to run through the js file and see whats going on elsewhere...Thanks!
The error should contain a line and character number
yes got that error corrected thanks!
now I have another js file for the weather app with this error
Uncaught SyntaxError: ambiguous indirect export: error404
Without code, it's like gazing in a crystal ball. Also, generally we prefer one topic per post
GitHub
GitHub - andrewteece/weatherio
Contribute to andrewteece/weatherio development by creating an account on GitHub.
ok sorry I will do a new post