JSFiddle - React, Tailwind, and code Playground

JavaScript

var str = "This is JavaScript charCodeAt() Method";
var n = str.charCodeAt(0);
alert(n);