// your code goes herevar num = 0;console.log(num);console.log(num += 1);console.log(num);
Standard input is empty
0 1 1
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!