1

Why does the following result in an error?

Is bar not instantiated before the invocation?

(function bar(){}, bar())

Uncaught ReferenceError: bar is not defined

Ben Aston
  • 45,997
  • 54
  • 176
  • 303

0 Answers0