javascript is a dumpster fire, who thought it was a good idea to make a language with so many pitfalls and gotchas