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
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
Get step-by-step solutions from verified subject matter experts
