Regarding running the code: If you have node installed, you can use node <path-to-file-relative-to-your-cwd>
The book has some nice mnemonics, so I will document them here for later reference
How to remember the syntax of apply() and call() methods regarding required arguments?
=> A is for Array, and c is for comma (separate passed arguments)
What is the use of "type": "module"?
It instructs nodejs to enable ESM for our .js files instead of commonjs modules