Re: self functions

2015-07-28 Thread Isiah Meadows
about JavaScript: its flexibility. I'd say that after ES7 or ES8, there won't be a ton of reason for syntactic additions. From: Jussi Kalliokoski To: Bucaran Cc: "es-discuss@mozilla.org >> es-discuss" Date: Tue, 28 Jul 2015 09:43:58 +0300 Subject: Re: self functions For classe

Re: self functions

2015-07-27 Thread Jussi Kalliokoski
mise handlers, so instead of: > > new Promise(function (resolve, reject) { }.bind(this)) > > One could write: > > new Promise(function self (resolve, reject) { }) > > It would be even sweeter if you didn’t ne

Re: self functions

2015-07-27 Thread Frankie Bagnardi
sed in promise handlers, so instead of: > > new Promise(function (resolve, reject) { }.bind(this)) > > One could write: > > new Promise(function self (resolve, reject) { }) > > It would be even sweeter if you didn’t ne

self functions

2015-07-27 Thread Bucaran
ite: new Promise(function self (resolve, reject) { }) It would be even sweeter if you didn’t need to specify the keyword function when writing `self` functions: new Promise(self (resolve, reject) { }) ___ es-discuss mailing list