On Feb 10, 2014, at 5:17 AM, Hemanth H.M wrote:

> So to finalize: There is no way to do this with fat arrow, rather fat arrow 
> is not meant for this?
> 
> 

correct.

As an altrnative use a concise method:

Object.assign(String.prototype, {
    repeat(n) {return Array(+n+1).join(this)}
});




_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to