No offense at all. This is mostly correct but i think it should still be proof read. from the callback section to the iife code. for instance this block
My JavaScript tutorials are like your best friend walking you through tough times - real nice and easy-like. None of that eye-glazing technobabble. Visit howtocodejs.com to start learning.
Well, hoisting is kind of overrated. It's not quantum physics. Though, I do get your point. In an overview of functions, I felt that it was necessary to touch on the nuances of some of these function types. It just so happens that hoisting is one of them.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
No offense at all. This is mostly correct but i think it should still be proof read. from the
callback
section to theiife
code. for instance this blockwould no longer need the
self
hack as function like here:Casually tossing in 'hoisting' when discussing function declaration/expression may not be great for beginners?
Thanks. Forgot to fix that.
Well, hoisting is kind of overrated. It's not quantum physics. Though, I do get your point. In an overview of functions, I felt that it was necessary to touch on the nuances of some of these function types. It just so happens that hoisting is one of them.