FWIW
I use google’s js console for testing/playing with some of the examples.
Many of the example lessons have code buried deep making it impossible to repeat the code outside of grasshopper
but …
for some code, you can execute the examples directly in the chrome console. see screen grab