Skip to content

Instantly share code, notes, and snippets.

@trevorglick
Created June 19, 2019 03:45
Show Gist options
  • Save trevorglick/905055e9429cb5568673db0ba941fd64 to your computer and use it in GitHub Desktop.
Save trevorglick/905055e9429cb5568673db0ba941fd64 to your computer and use it in GitHub Desktop.
bar not defined in local variables
function foo(a, b) {
return a + b;
}
function bar(c, d) {
return foo(c, d) + c * d;
}
console.log();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment