How to use the String.fromcharcode() function
String.fromcharcode() is a function in JavaScript that converts Unicode values into a string.
Syntax
var resultant_string= String.fromCharCode(68);
The output value in this scenario would be D, which is a string.
Parameters
If you pass multiple
var resultant_string= String.fromCharCode(68, 85, 67, 75);
The value in this scenario is DUCK, which is a string.
Code
console.log(String.fromCharCode(68, 85, 67, 75));