There are two ways to load a library in JS Envy. The first is by searching the name and selecting the result from the list. You can also hit enter to grab the top result to get through this with a bit more ease.
If a library wasn’t found in your search, or you want to load a specific version of a library, you can also specify a URL pointing to the library’s source, otherwise referred to as the full path.
JS Envy does not inherently handle dependencies. In other words: if you are loading a library with dependencies, make sure you have loaded those first otherwise your environment may not work.
You should also note that a library cannot be unloaded; if you accidentally load a library the best move would be to refresh the page.
There are two ways you can play in the environment you have created: the browser’s native console and the on-page console. The browser console works normally because the libraries loaded are loaded on the page, not on a server side environment or within an iFrame. The on-page console is incredibly simple; it currently supports just a few features:
It is also worth mentioning that the on-page console’s statements are evaluated on the window, meaning that variables and functions defined in it will also be available in the native console.