> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Lars Hansen > Sent: 10. mars 2008 18:46 > To: Erik Arvidsson > Cc: es4-discuss Discuss > Subject: RE: ES4 draft: Function > > > -----Original Message----- > > From: Erik Arvidsson [mailto:[EMAIL PROTECTED] > > Sent: 10. mars 2008 17:31 > > To: Lars Hansen > > Cc: es4-discuss Discuss > > Subject: Re: ES4 draft: Function > > > > What is the reason to make the thisObj param to bind optional? > > Symmetry with call and apply and a consequence of the > definition given in the proposals page (link below, it's near > the bottom). But I agree that it seems misguided. > Will change this unless there's opposition to it. > > http://wiki.ecmascript.org/doku.php?id=proposals:static_generics
But is null an acceptable non-default value for thisObj (meaning, use the global object in the bind method's scope)? --lars _______________________________________________ Es4-discuss mailing list Es4-discuss@mozilla.org https://mail.mozilla.org/listinfo/es4-discuss