Gotta agree new.target is nicer to read and write! /be
Allen Wirfs-Brock wrote:
err, try {let thisValue = this; //can't reference 'this' prior to 'super()' in a [[Construct]] call of a derived function} catch (e} { calledAsFunction = false //no let here }
_______________________________________________ es-discuss mailing list es-discuss@mozilla.org https://mail.mozilla.org/listinfo/es-discuss