"string".repeat(0)

David Bruant bruant.d at gmail.com
Thu Nov 22 12:49:04 PST 2012


Le 22/11/2012 21:44, Allen Wirfs-Brock a écrit :
> See https://bugs.ecmascript.org/show_bug.cgi?id=922
>
> What do people think?  Should a repeat count of 0 be accepted and 
> produce an empty string?
I would expect so.

David


More information about the es-discuss mailing list