I look to the collective wisdom for best practices more than style.
This is a bit lecturey for me (at least they hate comma first styling!), but there are some really good pragmatic parts in here:
https://github.com/rwaldron/idiomatic.js/
The switch statement I don’t see much discussion on
The type coercion stuff is one of the things that drives me crazy about js