Blockly Playground
Drag blocks together from the toolbox on the left of the workspace to build a program. The generated JavaScript updates live as you edit, and the print block (under Text) sends a value to the output panel when you hit Run.
Generated JavaScript
Output