JSFiddle - React, Tailwind, and code Playground

by Sahin Deniz

JavaScript

let a = 1;

let b = {[a]: 5, b:2}

console.log(b);