javascript is literally just a bunch of hacks glued together by people who couldn't be bothered to learn real programming languages.