JSFiddle - React, Tailwind, and code Playground
by dshilkret
JavaScript
var url = new URL(document.URL);
var params = new URLSearchParams(url.search);
var sysid = "-1";//params.get('sys_id');
var editorConsole = params.get('editor_console');
if(sysid == "-1"){
function alert(){
}
}
else{
(function(alert) {
alert("You have a sys_id, all is right with the world!");
})(alert);
}
function overrideAlert(msg) {
alert("Your sys_id is -1.");
}