`String.prototype.symbolAt()` (improved `String.prototype.charAt()`)

C. Scott Ananian ecmascript at cscott.net
Sat Feb 15 11:31:24 PST 2014

On Feb 15, 2014 9:13 AM, "Brendan Eich" <brendan at mozilla.com> wrote:
> Aside: "ECMASpeak" is neither accurate (we don't work for Ecma, it's JS
not ES :-P), nor euphonious.

I'm learning all sorts of things! I guess there are two names here; what's
your preferred phrase for "the language used to write algorithms in the ES6
spec" (JS6?), and, if it differs, "the language used by members of the TC39
committee among themselves when describing language primitives in a very
precise way"?

>> new string object.
> "new string primitive", because "string object" (especially with "new" in
front) suggests new String('hi').

I wrestled with the phrasing there. I think what I really mean is "avoid
allocating new backing storage", since there are "new string primitives"
returned regardless.  If there's a better phrase for "string backing
storage" I'd be glad to add that to my dictionary.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20140215/58f4524e/attachment.html>

More information about the es-discuss mailing list