Yes, in some sense JavaScript is the pinnacle of programming language design: it's so resilient to chaos that even stochastic parrots can write it with some success.
It's like the absolute minimal threshold of demands for sloppy code to work without immediately falling apart.