JSFiddle - React, Tailwind, and code Playground
JavaScript
var str = "t🙏🏿😘🎚↙️🕗🇨🇬芳";
document.write("Length is: "+str.length);
for(var i=0; i<str.length; i++) {
document.write("<br> charCodeAt(" + i + "): " + str.charCodeAt(i));
}
var str = "t🙏🏿😘🎚↙️🕗🇨🇬芳";
document.write("Length is: "+str.length);
for(var i=0; i<str.length; i++) {
document.write("<br> charCodeAt(" + i + "): " + str.charCodeAt(i));
}