unicode

  • String.fromCharCode vs String.fromCodePoint

    JavaScript: String.fromCharCode vs String.fromCodePoint

    String.fromCodePoint was introduced in ES6 to address shortcomings of String.fromCharCode to deal with UNICODE. Discussing String.fromCharCode vs String.fromCodePoint, both methods receive sequence of code points but String.fromCharCode require surrogate…

    neotam Avatar