The switch true pattern isn't well known but it is incredibly useful. It's not a JavaScript specific pattern, but I use it in almost every single project.
ReadWant to find out the exact commit that introduced a bug to your code? Git Bisect is just the tool for the job.
Read