A common error in switch statements is to
forget to place a break statement after each
case, resulting in unintended fall-through. JSLint expects that the statement before
the next case or default is one of these: break,
return, or throw.
You are currently reading a PREVIEW of this book.
Get instant access to over
$1 million worth of books and videos.