Tutorials 4
Traceur ES6 Generators Part 2
In my previous post we have introduced with ES6 generators.If you missed it you can use this link to read my previous post.This post is part2 where we will explore another ES6 Generator feature. The yield keyword is used by the Generator to return the current iterator object containing value and done property.We have already […]
Traceur ES6 Generators Part 1
ES6 comes with a new feature named Generator.Generators comes with many feature to be used by JavaScript developer. I am going to post multiple articles on ES6 generators.This is part1 to get introduced with ES6 generator.In the upcoming posts we will learn more usage of Generators. In this demo,”We will learn about Generator declaration with […]
Traceur ES6 Module Export Feature
ES6 provides the feature of exporting and importing module in JavaScript Programming Language. A object can be exported using export keyword and the same object can be imported using import..from clause. In this demo, “We will learn about ES6 export and import of module”. For this demo purpose i have created a project name ES6ModuleExportDemo […]
Traceur ES6 Promise Object
ES6 provides Promise object to support deferred and asynchronous execution of JavaScript. The Promise object helps in resolving Blocking nature of JavaScript. In this demo, “We will learn to use promise object in a JavaScript code”. The following code contains a method squarePositiveNumber() takes a number as input and returns a promise object.The Promise object […]