JS
challenger
Home
JavaScript Practice
JavaScript objects
Sum object values
Sum object values
Write a function that takes an object (a) as argument. Return the sum of all object values.
Premium
reset
function greet(name) { return `Hello, ${name}!`; } console.log(greet("Erik"));
JavaScript
Run Code
Console