let a = 3
let b = 10
let c = 20
let result = Math.min( a, b, c )
console.log(result)
const obj = {a: 3, b: 10, c: 20},
minValue = Math.min(...Object.values(obj)),
minKey = Object.keys(obj).find(k => obj[k] === minValue)
console.log(minKey + '=' + minValue) // a=3