JSFiddle - React, Tailwind, and code Playground

by Stefan Zamfira

JavaScript

var x = {};

var b = [];
b[x] = 1;
b[x] = 2;

console.log(x, b)