Closed Nathan-Wall closed 10 years ago
The following code results in an error because the foo function is trying to find bar in the global built-ins rather than in its own scope.
foo
bar
fn foo :{ console.log('from foo'); bar(); } fn bar :{ console.log('from bar'); } foo();
The following code results in an error because the
foo
function is trying to findbar
in the global built-ins rather than in its own scope.