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
  • 53,718
  • 65
  • 205
  • 331

0 Answers0