- to understand the split method I went over this link https://www.w3schools.com/jsref/jsref_split.asp
- but not sure why comma not adding after 3 and why empty array not showing up in the output
- is it just doing array concatenation
- i debugged but not sure
- can you guys let me know.
[123] + [] + 'foo'.split('');
"123f,o,o"