Skip to main content

Posts

Showing posts with the label What is ECMAScript ES6?

73 Angular 2 Interview Questions and Answers

Angular Book - Angular 2, Angular 4 and Typescript Interview Questions and Answers! Basic Questions What is Angular 2? What are the fundamentals concepts of Angular 2? What Are The New Features Of Angular 2? Why You Used Angular 2? What are advantages of Angular 2? How Can We Setting Up Our Development Environment For Angular 2? What are TypeScript Types? In Detail? What is AOT Compilation? - Pros and Cons of Ahead-of-Time! What is Lazy Loading and How to enable Lazy Loading? How would you Optimize the Angular 2 Application for Better Performance? What are the Securities Threats should we be Aware of in Angular 2 Applications? What are major changes in Angular 2? What are the core components of Angular 2? What set of modern browsers are supported in Angular 2? What are differences between Angular 2 and Angular 1? Can you write both Angular 1 and Angular 2 codes in a single project? What are differences between Constructors and OnInit? What did...

What is ECMAScript (ES6) in Angular 2?

The ECMAScript is known as now ES6. The ES6 is version 6. The ES6 is a scripting language and it developed by Ecma International org. The JavaScript is an implementation of ES6. The ES6 features are fully supported to latest browsers(chrome, Firefox etc.) Go to in detail  http://en.wikipedia.org/wiki/ECMAScript A basic simple example with live demo of Add two numbers using ES6 as given below.   let AddTwoNum = (num1,num2) => num1+num2;   console.log(AddTwoNum(4,3)); For the output go to link  http://www.es6fiddle.com/i8fi4ths/