Tangled JavaScript code is hard to read, understand and maintain, but it's not broken -- yet. I teach the foundational principles of detangling (or refactoring) JS code to keep your code clean, legible and bug-free.