1const string = 'hi there';
2
3const usingSplit = string.split('');
4const usingSpread = [...string];
5const usingArrayFrom = Array.from(string);
6const usingObjectAssign = Object.assign([], string);
7
8// Result
9// [ 'h', 'i', ' ', 't', 'h', 'e', 'r', 'e' ]
10