Javascript String fromCodePoint()

Introduction

Javascript String fromCodePoint() accepts any number of code point numbers and returns their character equivalents concatenated into a string:

String.fromCodePoint(num1[, ...[, numN]])
  • num1,...,numN - a sequence of code points.
console.log(String.fromCharCode(97, 98, 55357, 56842, 100, 101));  
console.log(String.fromCodePoint(97, 98, 128522, 100, 101));       
console.log(String.fromCodePoint(42)); 
console.log(String.fromCodePoint(65, 90));



PreviousNext

Related