$ print('hey you')
hey you
$ print({'whatever': 'example', something: [1, 2, 3]});
{something: [1, 2, 3], whatever: "example"}
$ print(1/0)
NaN
$ function foo() {
> console.log({hey: 'you'});
> throw 'whatever';
> }
> foo();
Error: whatever
print(1+2)
/* =>
3
*/
function testme() {
setTimeout(function () {
print('hey you!');
}, 10);
}
testme();
wait(200);
/* => hey you! */
function stop() {
throw Abort();
}
print(1+2);
/* => 3 */
stop();
/* => something */
print(5+5);
/* => 12 */