First off I been searching the web for this solution.
How to:
<''.split('');
> ['','','']
Simply express of what I'll like to do. But also with other Unicode characters like poo.
First off I been searching the web for this solution.
How to:
<''.split('');
> ['','','']
Simply express of what I'll like to do. But also with other Unicode characters like poo.
Share Improve this question edited Jun 23, 2015 at 9:13 Miguel 20.6k5 gold badges46 silver badges67 bronze badges asked Jun 22, 2015 at 21:51 L2L2LL2L2L 932 silver badges10 bronze badges 3-
3
I'm a little confused.
''.split('');
appears to work for me: ["", "", ""] – KJ Price Commented Jun 22, 2015 at 21:54 - 1 I've read about the poo test before. mathiasbynens.be/notes/javascript-unicode has a good explanation. The key thing is