JSFiddle - React, Tailwind, and code Playground

by dledle2

JavaScript

String.prototype.obfuscate = function () {
    var bytes = [];
    for (var i = 0; i < this.length; i++) {
        bytes.push(this.charCodeAt(i));
    }
    return bytes.join('');
}

alert ( "test".obfuscate()   );