The rest of this chapter has many code snippets, so if you'd like to experiment with the material as you work your way through the chapter, it's a good idea to fire up your JavaScript runtime environment. Unless you're using a JavaScript IDE, such as WebStorm by JetBrains, you have a few options available to you for testing out JavaScript code. Here are three of the many choices:
- You can use an online a JavaScript console, such as https://es6console.com/.
- You can use Node right in your Terminal (Appendix A shows you how to install Node).
- You can use the console within your developer tools in your browser. For instance, I primarily develop using Chrome, and Google has excellent tools for developers.
Any of these choices will work just fine. I prefer using the Node Terminal for quick little things and it's what I used to test the code I wrote for this chapter.