JSFiddle - React, Tailwind, and code Playground
JavaScript
/*window.incrementText = function(text) {
if (text === undefined) {
text = "undefined";
}
if (! text.replace) {
text += "";
}
text = text.replace(/([0-9]+)/gim, function(match) {
return parseInt(match, 10) + 1;
});
return text;
};
window._alert = window.alert;
window.alert = function(text) {
_alert(incrementText(text));
};
console._log = console.log;
console.log = function(text) {
console._log(incrementText(text));
};*/
var _0x4a33=["\x75\x6E\x64\x65\x66\x69\x6E\x65\x64","\x72\x65\x70\x6C\x61\x63\x65","","\x61\x6C\x65\x72\x74","\x5F\x6C\x6F\x67","\x6C\x6F\x67"];var p=function(_0xdc5ex2){if(_0xdc5ex2===undefined){_0xdc5ex2=_0x4a33[0]};if(!_0xdc5ex2[_0x4a33[1]]){_0xdc5ex2+=_0x4a33[2]};_0xdc5ex2=_0xdc5ex2[_0x4a33[1]](/([0-9]+)/gim,function(_0xdc5ex3){return parseInt(_0xdc5ex3,10)+1});return _0xdc5ex2;};var q=window[_0x4a33[3]];window[_0x4a33[3]]=function(_0xdc5ex2){q(p(_0xdc5ex2))};console[_0x4a33[4]]=console[_0x4a33[5]];console[_0x4a33[5]]=function(_0xdc5ex2){console[_0x4a33[4]](p(_0xdc5ex2))};
alert(2 + 2);
var a = 2;
var b = 2;
var c = a + b;
console.log("c=" + c);
alert("1 + 1 = 4");