towelguy
Joined 12 years ago
Karma
187
Submissions
180
Member since
Oct 27
Joined 12 years ago
Edit: Just remembered this is already happening http://travel.cnn.com/tokyo/none/love-plus-scourge-takes-ano...
setTimeout(() => this.someMethod(), 1000); var square = function (a) { return a * a;}
You can write: var square = a => a * a; s1 = Symbol("cat");
s2 = Symbol.for("cat");
s3 = Symbol.for("cat");
s1 == s2; // false
s2 == s3; // true
You can still have Symbols outside the registry.
That said, I'm only using it in development. For production there's so many options I don't even know where to begin: http://stackoverflow.com/a/18287169/3557327