JSFiddle - React, Tailwind, and code Playground

JavaScript

var myObject = {
      property1: 20,
      property2: 5000
};

console.log(myObject.property1);
with(myObject){
 console.log( property1 );   
 console.log( eval('property1+property2') );
}