Creating something that works in JavaScript requires hooking lots of libraries together. A recent bare-bones API project I was working on had 70 libraries (only 10 of which were surface-level, the rest were dependencies).<p>Unfortunately, there isn&#x27;t much of a standard in how libraries do things, so you won&#x27;t ever have a cohesive standard in your own code.<p>For that reason, I suggest using whatever style creates more readable&#x2F;maintainable code for you and your team. I suspect that it&#x27;s LYBL, since that helps you avoid goto-based functionality, but it&#x27;s a personal choice.