Katherine Mejia wrote:JavaScript is such a weird language when it comes to how functions are called/initiated.
I would say "varied and deep" rather than weird.
DOM is a big part of Javascript
Not true, or at best, misleading. The DOM is not part of the JavaScript language. It's part of HTML (and that's simplifying things, but will do for now). The browsers provide JavaScript bindings for a DOM API, but that doesn't make the DOM part of JavaScript.