JavaScript Professional — Hard
Key points
- ASI automatically inserts semicolons in JavaScript
- The missing semicolon in foo() does not affect the output
- The missing semicolon in foo2() causes it to return undefined
Ready to go further?
Related questions
