Using with keyword to shorten your code
“with” keyword becomes extremely handy when you need to use many attributes of an object without keep calling the object
var house = {
paint: "blue",
size: "big",
hasYard: true,
numberOfLivingRooms: 2,
numberOfStoreRooms: 1,
numberOfBedRooms: 4,
numberOfKitchen: 3,
masterArea: {
hasBedRooms: true,
masterAreaBedRooms: 3
}
};
