Hint
Function declarations hoist completely. Function expressions do not.
console.log(greet('Alice'));
function greet(name) { return 'Hello, ' + name; }Hello, Alice
Explanation: Function declarations are fully hoisted — name and body both. You can call them before they appear in source.
Key Insight: Function declarations hoist completely. Function expressions do not.