Board Thread:General Coding Help/@comment-29826282-20161230193523

I recently wrote a small ES6-compliant script that worked perfectly in the Firefox, Chrome, and Opera browser consoles. However, once I copy/pasted the code into my personal MW files for on-wiki testing, the script wouldn't run and the console logged a JavaScript parse error, specifically

I then tried an ES6-compliant alternate version of one of my chat scripts that Shining-Armor provided me, and it too resulted in the same JavaScript parse error. Has anyone else experienced similar problems with ES6 syntax, such as template literals, arrow functions, or the  declaration? Is this an issue with the modified MediaWiki architecture Fandom employs? Any insights would be appreciated. 