Javascript String cReverse()

Description

Javascript String cReverse()


////from ww w .j ava  2s  .com
//
console.log(String.fromCharCode(65, 66, 67, 0));

String.prototype.cReverse = function() {
  var charCodes = [];
  this.map(function(x) {
    charCodes.push(x.charCodeAt(0));
  });

  
}



PreviousNext

Related