When JavaScript sees a var declaration anywhere in a function, it "hoists" the declaration to the top of the function β but not the assignment. Accessing the variable before the assignment returns undefined.
Challenge: Write varHoisting() that:
typeof hoisted before the declaration linevar hoisted = 'later'