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
  • 49,455
  • 61
  • 188
  • 322

0 Answers0