You can create a plain text file, say test.html
, then write your JavaScript and open the file in a browser. If you want to reference any libraries, just download them to the same folder and reference them.
Hello World
Or you can try something like vimfiddler.