```js
var text = 'ЙйЁё';

text.split(''); // ["И", "̆", "и", "̆", "Е", "̈", "е", "̈"]
```

Possible solutions:

1.

```js
text.normalize().split('') // ["Й", "й", "Ё", "ё"]
```

I like it, but is no so comfortable

2.

```js
Array.from(text) // ["И", "̆", "и", "̆", "Е", "̈", "е", "̈"]
```

3.

```js
[...text] // ["И", "̆", "и", "̆", "Е", "̈", "е", "̈"]
```


Should the `Array.from` and `...text` work as the first example and why?

[Test example](http://jsbin.com/baguhiguja/1/edit?js,output)
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to