I didn’t see that this question had been asked before, and I feel a little silly asking it… But is there a place where one would find best practices?
I’ve been googling and I keep coming up with opinion articles. All the stuff that looks definitive is years old. For example: https://www.w3.org/wiki/JavaScript_best_practices was last updated 23 May 2015. I know that doesn’t make it irrelevant, but things have changed a bit since then.