javascript is literally the worst, who thought it was a good idea to make a language that's 90% workarounds for its own flaws