I have an object in javascript like this:
{ \"a\":4, \"b\":0.5 , \"c\":0.35, \"d\":5 }
Is there a fast way to get the minimum and maximum v
var newObj = { a: 4, b: 0.5 , c: 0.35, d: 5 }; var maxValue = Math.max(...Object.values(newObj)) var minValue = Math.min(...Object.values(newObj))