You can make a Javascript sandbox by creating an index.html file in a directory with another file with a .js extension with a text editor. Here’s the HTML content:
...
Open the index.html page in your browser and type in “DEBUGborders()” at the console and you should see something like this:
...