Array.forEach() et al with additional parameters

Gary Guo nbdd0121 at hotmail.com
Mon Dec 22 05:19:19 PST 2014




On Mon, 22 Dec 2014 11:37:04 +0100, David Bruant <bruant.d at gmail.com> wrote:>Function.prototype.bindParameter = function(...args){
>    return this.bind(undefined, ...args)
>}
But this will bind all parameters. In Christian Mayer's situation, she wants first three parameters unbound while your solution will not work. :-)


 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20141222/671ca865/attachment.html>


More information about the es-discuss mailing list