Question: Write a function called productOfValues which takes in an object of key/value pairs and multiplies the values together. You can assume that all keys are

Write a function called productOfValues which takes in an object of key/value pairs and multiplies the values together. You can assume that all keys are strings and all values are integers.
Write a function called productOfValues which takes in an object of key/value

Easy Question #1 Write a function called productofvalues which takes in an object of key/value pairs and multiplies the values together. You can assume that all keys are strings and all values are integers. For example: let testobject = { 'a': 5, 'b': 12, 'c': 3 productofvalues (testobject) // should return 180 because 5 * 12*

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!