String.prototype.codePointAtbeginnerconst str = 'Hello'
str.codePointAt(0) // β 72
'π'.codePointAt(0) // β 128512Use codePointAt() to get the full Unicode code point at a position, correctly handling supplementary characters.
str.codePointAt(pos) returns the Unicode code point value at the given position. For BMP characters it works just like .charCodeAt().
Challenge: Implement getCodePoint(str, pos) using .codePointAt().
getCodePoint('A', 0) // β 65
getCodePoint('a', 0) // β 97