JavaScript ES6 and Beyond

Recall modern syntax and features.

1. Which keyword was introduced in ES6 for block-scoped variable declaration?
2. Which of the following features were introduced in ES6?
3. ES6 introduced the 'class' keyword to enable object-oriented programming in JavaScript.
4. What symbol is used to define template literals in ES6?
5. How does an arrow function differ from a traditional function expression in terms of 'this' binding?
6. Which of these are valid uses of the spread operator (...) in ES6?
7. ES6 modules use 'import' and 'export' statements to share code between files.
8. What ES6 feature allows functions to have parameters with predefined values if not provided?
9. Which method is used to handle errors in a Promise chain?
10. Which features were introduced in ES2017 (ES8) or later (beyond ES6)?
Answered 0 of 0 — 0 correct