If I understand Allen answer looks like `Array.from(βπ©&π©β).length` would do, being 3, and making the operation straight forward?
Cheers On Fri, Oct 18, 2013 at 1:33 PM, Mathias Bynens <[email protected]> wrote: > On 18 Oct 2013, at 15:12, Andrea Giammarchi <[email protected]> > wrote: > > > so my counter-question would be: is there any way to do that in core so > that we can βπ©π©π©β.split() it so that we can have an ArrayLike that with > [1] gives back the single βπ©β and not the whole thing ? > > This brings us back to the earlier discussion of whether something like > `String.prototype.codePoints` should be added: > http://esdiscuss.org/topic/how-to-count-the-number-of-symbols-in-a-stringI > think it would be useful > >
_______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

