Debugging
Great playground in chrome console
Most common errors
Thinking the value is invalid when it is actually undefined
Not awaiting for a promise
Can't do await in map/filter ft
Equality and booleans are jank in js
[] !== []
|Boolean([]) === true
Problems with variable hoisting(using value before its defined, without throwing error)
Console
Is something you are requiring undefined?
Circular dependency, module.exports will just return null
Last updated