JSFiddle - React, Tailwind, and code Playground

JavaScript

var n = "1", e="2";
var s={'a':(e+n)+"px"};

alert (s.a)