<html>
<body>
<h1>JavaScript Strings</h1>
<h2>The codePointAt() Method</h2>
<p>codePointAt() returns the code point at a specified position in a string.</p>
<p>Get the code point at the 15th position:</p>
<p id="demo"></p>
<script>
let text = "HELLO WORLD";
let code = text.codePointAt(15);
document.getElementById("demo").innerHTML = code;
</script>
</body>
<!-- Mirrored from www.w3schools.com/jsref/tryit.asp?filename=tryjsref_codepointat3 by HTTrack Website Copier/3.x [XR&CO'2014], Wed, 21 Dec 2022 17:39:26 GMT -->
</html>