JavaScript-specific red flags¶
jQuery¶
jQuery generally isn't needed to achieve things, modern JS has functionality such that it's mostly a legacy tooling. It's better to use pure JS for things instead when possible.
var¶
Just don't. It's an archaic JS syntax from back before const and let existed and can trip you up with certain gotchas that cause trouble.