There are 5 root things that make it this way. If you’re new, learning to grasp these 5 concepts will get you a LONG WAY in your JS programming.
Honestly, there are a LOT of intermediate programmers who don’t understand these concepts. Many coders who know how to work around them don’t really understand how and why it works, they just know do-this-and-it-works.
Here’s video 1, First-Class Functions
Watch the full playlist: