Category "ecmascript-harmony"

Getting a promise's value via yield & co

I'm trying to figure out how to get the value of a promise via yield, possibly with "co": function *(){ var someVar = yield functionThatReturnsAPromise(); }

How to customize object equality for JavaScript Set

New ES 6 (Harmony) introduces new Set object. Identity algorithm used by Set is similar to === operator and so not much suitable for comparing objects: var set