Javascript in Servicenow is complicated

Look, it doesn't help that JS is complicated subject already in the world, but in ServiceNow, it's even more complicated.

Here's why.

The version of Javascript depends where you are in the platform.

  • Client Scripts run in the browser and support whatever version the browser supports, regardless of the linting rules they show you.
  • Server Scripts run on the server and use either