how to split a word into letters javascript code example Example: split array by character javascript s.split("");