JavaScript Pitfalls: The Weird Parts That Break Apps Scope, coercion, async bugs—explained with examples.