Custom Console.log function
– This will auto hide console in Live mode.
function consoleLog(val) {
let isLocalHost = window.location.href.search("localhost") > 0 ? true : false;
if(isLocalHost){
return console.log(val);
}
}
Custom Console.log function
– This will auto hide console in Live mode.
function consoleLog(val) {
let isLocalHost = window.location.href.search("localhost") > 0 ? true : false;
if(isLocalHost){
return console.log(val);
}
}