Closed revelt closed 8 years ago
I'm working on a new library and I need a way to split a string by character into an array, considering Astral symbols. I was expecting this library to work, as it claims to be equivalent to ES6. But, it's not:
https://tonicdev.com/57ac7398a55ecf1200fa1a05/57ac7398a55ecf1200fa1a06
Real Array.from recognises Astral symbols fine while this library does not. Am I missing something here?
Array.from
Duplicate of #4.
Aha! Thanks and sorry for nuisance 😄 I found array-from on npm does support Astral symbols although it's ES5< so not exact competition
array-from
I'm working on a new library and I need a way to split a string by character into an array, considering Astral symbols. I was expecting this library to work, as it claims to be equivalent to ES6. But, it's not:
https://tonicdev.com/57ac7398a55ecf1200fa1a05/57ac7398a55ecf1200fa1a06
Real
Array.from
recognises Astral symbols fine while this library does not. Am I missing something here?