Arrays
The Array in Hedgehog Script is quite similar to the one in JavaScript.
You can create and print an array:
You can add or remove items from an array:
You can iterate over an array:
For the use of arrow functions in this example, if you're not familiar with the concept, this is a good reference: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/Arrow_functions
And much more as we'll see later.