Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // What's the result of calling test()?
- // What's the load order?
- function test() {
- console.log(a);
- console.log(foo());
- var a = 1;
- function foo() {
- return 2;
- }
- }
- test();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement