Javascript Playground

Type "Shift+Enter" or click "Run" button to execute your Javascript. Use console.log() or print() to print anything to the output area. The result from the last statement is printed in the output area as well.

Javascript    Output