const s = "héllo"; // spreading a string yields whole Unicode code points const chars = [...s]; console.log(chars, chars.length);
spread splits into characters