Be aware your code breaks pair surrogates, which might be undesirable: ```js var str = "a_\uD83D\uDE80_b"; str.split("").reverse().join(""); // "b_\uDE80\uD83D_a" :( [...str].reverse().join(""); // "b_\uD83D\uDE80_a" :) ```
--Oriol
_______________________________________________ es-discuss mailing list es-discuss@mozilla.org https://mail.mozilla.org/listinfo/es-discuss