Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var sayHello = foo('Hello world.');
- // not hoisted to the top
- // you will get an error - 'foo' is undefined
- var foo = function (str) {
- alert(str);
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement