JSFiddle - React, Tailwind, and code Playground

by Oski Krawczyk

JavaScript

Window.implement({
    $log: function(){
        if (typeof console !== 'undefined' && typeof console.log !== 'undefined'){
            console.log(arguments.length <= 1 ? arguments[0] : arguments);
        }
    }
});

$log('test', ['a','b']);