Hi, I have been trying to figure out this "homework for awhile. It is from CodeAcademy, the free version.
So it is not for class like at a school, just me trying to learn on my own.
I have been tasked to these directions:
"Read the values of the properties an entree and the drink of testObj using bracket notation and assign them to entreeValue and drinkValue respectively."
Below is the code I need to change. However, I cannot figure out how to do it. If you can help, please.
const testObj = {
"an entree": "hamburger",
"my side": "veggies",
"the drink": "water"
};
//change below this line
const entreeValue = testObj;
const drinkValue = testObj;