you can use notepad and test it in a a browser, with a tiny bit of boilerplate.
add this line first thing:
and this line as the last line of the document:
save it test.html and it should run in any browser.
if you want to shortcut all that, feel free to tryout your code snips in the CODE box at http://danml.com/sandbox/
, and then click run to run. The environment will allow you to save your code, share it with others, and also provides a few tools like empty textboxes to paste input data.
BROWSER STATS [% share]
(2013/10/31) IE7:0.5, IE8:8.6, IE9:5.3, IE10:12.3, FF:17.7, CH:41.8, SF:8.1, MOBILE:20.4