Difference between function declaration and function expression.

Entry JavaScript

Answer

Declaration is hoisted and callable before definition; expression is assigned at runtime and not hoisted the same way.

Want to bookmark, take notes, or join discussions?

Sign in to access all features and personalize your learning experience.

Sign In Create Account

Source: SugharaIQ

Ready to level up? Start Practice