How do I fix this missing semicolon syntax error in Javascript?

Your issue is the fact that the i in functіon is the Unicode character U+0456 CYRILLIC SMALL LETTER BYELORUSSIAN-UKRAINIAN I. If you change it to a ‘normal’ i it should just work.

But now I’m wondering how the hack 🙂 did you get a Cyrillic character there 😛

Screenshot of EditPlus showing the 'i' highlighted, with the status bar showing its codepoint, 0456

Leave a Comment