Returns a Unicode code point from a string at specified position.
second argument must be an integer
second argument must be a valid index
input string
position
backward iteration for low surrogates (default: false)
code point
var str = codePointAt( 'अनुच्छेद', 2 ); // returns 2369 str = codePointAt( '🌷', 1, true ); // returns 127799
Returns a Unicode code point from a string at specified position.
second argument must be an integer
second argument must be a valid index