String.fromcharcode()
is a function in JavaScript that converts Unicode values into a string.
var resultant_string= String.fromCharCode(68);
The output value in this scenario would be D
, which is a string.
If you pass multiple
var resultant_string= String.fromCharCode(68, 85, 67, 75);
The value in this scenario is DUCK
, which is a string.
console.log(String.fromCharCode(68, 85, 67, 75));
RELATED TAGS
CONTRIBUTOR
View all Courses