JSFiddle - React, Tailwind, and code Playground

by Kavitha Venkataswamy

JavaScript

console.log('hi');
var x = 10;
console.group("a set of tests");
console.log(x);
console.groupEnd("a set of test end");

var x = {color : "magneta"}
var y = {color : "orange"}

var z = function(){
console.log("My color is ", this.color);
}

x.log = y.log = z;
x.log();
y.log();
z();