JSFiddle - React, Tailwind, and code Playground

by mmansion

JavaScript

var orig = console.log;
console.log = function() {
    var msgs = [],
        prefix = (window == top ? '[root]' : '[' + window.name + ']');
    while(arguments.length) {
        msgs.push(prefix + ': ' + [].shift.call(arguments));
    }
    orig.apply(console, msgs);
};

console.log('yes', 'no');