0 of 8 problems solved • 0%
Use in a course

Exercise prompt

List Object Values

Object.values(object) creates an array containing an object's values in property order.

Example

const sizes = { small: 2, large: 5 }; console.log(Object.values(sizes));

Your task

Collect the values from scores into scoreValues, then display Scores: 8,10,7.