JSFiddle - React, Tailwind, and code Playground

by omarjuvera

JavaScript

//Create a new Object on the fly:
var newObject = {};

//Assign values on the fly
newObject.min = 0;
newObject.max = 5;

//See Object values of ALL properties 
alert(JSON.stringify(newObject, null, 4));

//See Object value from one property
alert( newObject.max );