JSFiddle - React, Tailwind, and code Playground

JavaScript

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