VOOZH about

URL: https://www.geeksforgeeks.org/javascript/javascript-string-fromcodepoint-method/

⇱ JavaScript String fromCodePoint() Method - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

JavaScript String fromCodePoint() Method

Last Updated : 11 Jul, 2025

JavaScript String fromCodePoint() is an inbuilt method in JavaScript that is used to return a string or an element for the given sequence of code point values (ASCII value).

Syntax:

String.fromCodePoint(a1, a2, a3, ....)

Parameters:

  • Here parameters a1, a2, etc are the sequence of code point values.

Return value:

It returns the corresponding string or elements for the given sequence of code point values.

Example 1: This example shows the basic use of the String.fromCodePoint() Method in Javascript.


Output
GFG

Example 2: This example shows the basic use of the String.fromCodePoint() Method in Javascript.


Output
*
AZ
BAf

Example 3: This example shows the basic use of the String.fromCodePoint() Method in Javascript.


Output
Geeks

Supported Browsers:

  • Chrome 41
  • Edge 12
  • Firefox 29
  • Opera  28
  • Safari 10
Comment