QSet Logo
Public
QS

@qs_by_qset

Created this 5 months ago

ES6 Questions and Answers

Less than 10 submissions

A collection of questions and answers on ES6 features.

Stop reading

Practice these questions and get feedbacks! It will help you improve your answer.

Ads section

1. What is the difference between a `class` and a `prototype`?

2. What is the difference between an arrow function and a regular function?

Please login to your account to view this. Login

3. What is the difference between a `GeneratorFunction` and a `Generator`?

4. What is the purpose of the `spread` operator?

5. What is the difference between a `Set` and a `Map`?

6. What is the purpose of the `let` keyword?

7. What is the purpose of the `Intl` object?

8. What is the difference between a `TypedArray` and a `DataView`?

9. What is the difference between `const` and `let`?

10. What is the purpose of the `WeakSet` and `WeakMap` objects?

11. What is the purpose of the `WebAssembly` object?

12. What is the purpose of the `super` keyword?

13. What is the difference between a `Proxy` and a `Reflect`?

14. What is the purpose of the `async/await` syntax?

15. What is the purpose of the `rest` operator?

16. What is the difference between a `promise` and a `callback`?

17. What is the purpose of the `Symbol` object?

18. What is the difference between a `BigInt` and a `Number`?