📄️ In this section
Before we write any code in ServiceNow, it is important to understand the fundamentals of JavaScript. Many learn how to write code in ServiceNow without really understanding JavaScript, myself included. At Knowledge 13, I took the pre-conference training course Scripting in ServiceNow. A prerequisite included going to the Codeacademy website and running through a JavaScript tutorial that took about an hour. That hour introduced me to declaring variables, working with iterators (loops), and writing a basic function.
📄️ Learning Environment
In the Getting Started section, you installed a browser, obtained a PDI ("instance"), and installed the SN Utils chrome extension. We are going to use those three things tools for the remainder of our learning. Any time we write code, execute it, and view the output, we'll do that right in our instance, that includes while we learn the fundamentals of JavaScript.