0 of 8 problems solved • 0%

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)); // Output: // [2, 5]

Your task

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