Do sweat it...this will eventually be completely recast in terms of the ES 
spec. language and any necessary coercions  will be specified in terms of the 
specification's abstract operations.

Allen


On Apr 28, 2011, at 4:20 AM, David Bruant wrote:

> Hi,
> 
> This is purely an editing issue, but for String.prototype.repeat, Number is 
> passed as an argument while String isn't.
> Following the idea of correctness that Mark Miller used in [1], I propose to 
> pass neither Number nor String and just to the Object.defineProperty.
> 
> David
> 
> [1] : https://mail.mozilla.org/pipermail/es-discuss/2011-April/013654.html
> _______________________________________________
> es-discuss mailing list
> [email protected]
> https://mail.mozilla.org/listinfo/es-discuss

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

Reply via email to