JSFiddle - React, Tailwind, and code Playground JavaScript var i = 1; // Creates variable with value of 1 window['user'+i] ="John"; alert(user1);