JSFiddle - React, Tailwind, and code Playground

by zerippe

JavaScript

const a = "aa";
const b = "bb";

const c = {
  [a]: b
};

console.log(c);