You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
//the method for of is an array method and it would be looking for an indexed list of items rather than a key value pair so an error will be thrown since we are using an object.
// This program attempts to log out all the property values in the object.
// But it isn't working. Explain why first and then fix the problem
//i can fix this by changing for ... of to for ... in.