JSREF
JavaScript String codePointAt()
Get code point value at the first position in a string: