Skip to content Skip to sidebar Skip to footer
Showing posts with the label Ecmascript 6

Asynchronous Data Loading In Class Constructor

Example: var readBackend = function(){ var deferred = q.defer(); readData().then(function(d… Read more Asynchronous Data Loading In Class Constructor

Node Es6 Class Event Emitter Function?

I'm trying to create a class for which all instances respond to an event: const events = requir… Read more Node Es6 Class Event Emitter Function?

What Is Extended Mode?

I'm toying with let in Node v0.10.12. Using the --harmony flag the following code produces a sy… Read more What Is Extended Mode?

Javascript Convert Nested Map To Object

I want to convert an es6 nested Map to an object. I tried this code: mapToObjectRec(m) { … Read more Javascript Convert Nested Map To Object

Import With Or Without Curly Brackets In Es6

What is the difference between: import Title from './title.js' and import { Title } from … Read more Import With Or Without Curly Brackets In Es6

Es6: Access To Inherited Class'es Properties And Methods From The Parent Class

ES6 has not abstract methods or properties, but can I get some methods or properties in the parent … Read more Es6: Access To Inherited Class'es Properties And Methods From The Parent Class