Top ES6 Interview Questions and Answer, ECMAScript 2015 Interview Questions
JavaScript is always evolving and new features are introduced. ES6 is definitely one of the major changes the language undertook over the last decade. Here is a list of questions related to the latest features of the language. Keep reading.
Getting familiar with the language new features is not always an easy task. Hope this questions will help you do that. I will try to add as much ES6 interview questions asked in real interviews as I can. If you have some, feel free to share in the comments. Happy Hacking!
1. What is ES6?
ES6 is basically EcmaScript 6 / EcmaScript 2015.
EcmaScript is not any scripting language instead a standard that Javascript is based upon. So, ES6 is a new version or new standard of Javascript.
ES6 brings many new feature like concept of classes, template tags, arrow functions etc.
2. What are the new features of ES6?
Answer-
- Support for constants (also known as “immutable variables”)
- Block-Scope support for both variables, constants, functions
- Arrow Functions
- Extended Parameter Handling
- Template Literals
- Extended Literals
- Enhanced Regular Expression
- Enhanced Object Properties
- Destructuring Assignment
- Modules, Classes, Iterators, Generators
- Support for Map/Set & WeakMap/WeakSet
- Promises, Meta-Programming ,Internationalization & Localization
Read More from http://es6-features.org/
3. What is Babel ?
Answer - Babel is a JavaScript compiler. Babel is a toolchain that is mainly used to convert ECMAScript 2015+ code into a backwards compatible version of JavaScript in old browsers or environments.
4. What is Webpack?
Answer - Webpack is an open-source JavaScript module bundler. Webpack takes modules with dependencies and generates static assets representing those modules
0 comments:
Post a Comment