Roadmap for ECMAScript 6 on the Frontend (Obsolete Syntax Checker)

Martin76
Kilo Expert

Many times the question has been asked why ServiceNow does not support ECMAScript 6 (ES6) in server-scripts. This is not my question.

My question is why on Earth scripts supposed to run in client's browser are being checked for syntax errors using an outdated server-side syntax checker that does not recognise ES6?

find_real_file.png

Think of it as two different languages: ECMAScript 5, supported by the server, and ECMAScript 6, supported by any modern browser. There is no sense in using an ES5 checker to check ES6 code. It's like using Shakespeare's English to spellcheck this post.

I'm getting complaints from other developers that they cannot edit ES6 code right in the editor when they need to touch it.

Please ServiceNow remove the counterproductive ES5 checks for client-side script fields and make a statement on this.

Please anyone else interested in lifting the restriction upvote the request.
Thank you

 
5 REPLIES 5

We developers really do not like to type do we.  🙂  Anything to save a few characters.