Here's one possible solution to this exercise:
// 1. Log each key in the object to the console
// https://www.imdb.com/title/tt0385726/?ref_=fn_al_tt_1
const movie = {
title: 'Glory Road',
releaseYear: '2006',
description: 'In 1966, Texas Western coach Don Haskins led the first all-black starting line-up for a college basketball team to the NCAA national championship.',
rating: 'PG'
}
for (const attribute in movie) {
console.log(attribute);
}
// 2. Log the value of each attribute on the object using the for in loop
// HINT: In the last video, I accessed the value of an attribute on the object
for (const attribute in movie) {
console.log(movie[attribute]);
console.log(movie[attribute].toUpperCase());
}