Games Node.js Loop Quest Events and errors
Nobody caught it
A rejected promise with no .catch anywhere.
process.on('unhandledRejection', (e) => console.log('unhandled: ' + e.message));Promise.reject(new Error('forgot'));console.log('sync');1. Predict the output
Tap the lines in the order you think they print.
- 1…
- 2…