wrong
ReferenceError: Can't find variable: wrong
throw 'oh no!';
"oh no!"
try { wrong; } catch (e) { print('Ooops - ' + e); }
try { wrong; } finally { print('No matter what - this happens!'); }
ReferenceError: Can't find variable: wrong
throw new Error('A decent error is a good start.');
Error: A decent error is a good start.
The console allows you to interact with the course material and examples. Use the following keys:
A special logging function is also available: