From 399fe80b6d9d407602d5519bba877a2b784e2efd Mon Sep 17 00:00:00 2001 From: RahilRehan Date: Wed, 30 Sep 2020 22:51:55 +0530 Subject: [PATCH] Some ES6 Questions --- README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/README.md b/README.md index 9d9ec80..ff29489 100644 --- a/README.md +++ b/README.md @@ -7,3 +7,18 @@ * Under the hood of JavaScript Engine (memory heap and stack in v8) * Garbage Collector in JavaScript * Memory Leaks in JavaScript (event listeners, setInterval and global variables etc) + + +## ES6 additions +* Explain arrow functions +* Differences between declaring variables using var, let and const. +* What are template strings and how are they useful? +* Default parameters to functions. +* Rest and spread operators and using them to refactor code? +* for...of loops +* Object and array destructuring +* How Object Oriented style is created in JS? +* Explain how OOP is emulated via prototypal chains of function and objects? +* Explain inheritance in OOP styles JS? How super and extends keyword work under-the-hood? +* Promises? Explain the new way of Async programming in JS using JS? +