JSFiddle - React, Tailwind, and code Playground

by Chuan Shao

JavaScript

var o = Object.create({x:1, y:7});
console.log(o);//Object {x=1, y=7}
console.log(o.__proto__);//Object {x=1, y=7}

var o2 = Object.create(null);
console.log("It is " + o2);//Type Error