Clone and edit this document
Runkit
Runkit
home page
user forum
new notebook
clone notebook
download notebook
support & documentation
log in
sign up
new notebook
help & feedback
clone this notebook
download this notebook
Sign In
Sign Up
My First Playground
node v6.17.1
version:
master
endpoint
share
tweet
This is a playground to test JavaScript. It runs a completely standard copy of Node.js on a virtual server created just for you. Every one of npm’s 300,000+ packages are pre-installed, so try it out:
'use strict'; async function shouldThrow() { console.log('In shouldThrow'); console.log(notFound); } try { await shouldThrow(); } catch (error) { console.error(error); } console.log('Program ended');
Loading…
no comments
sign in
to comment