Javascript String char code Convert to String
let myString = "The quick brown fox."; for (let i = 0; i < myString.length; i++) console.log( myString.charCodeAt(i) + "-"); console.log("");// w ww .j ava 2 s . co m for (let i = 0; i < myString.length; i++) console.log( String.fromCharCode( myString.charCodeAt(i) ) + "-");