JavaScript find min/max from array of objects
In the previous article, we looked at finding the min/max from an array of arrays. Let's see how we can do the same with an array of objects.
Our array will look like this:
const users = [
{ name: 'Nicole', age: 31 },
{ name: 'Chris', age: 33 },
...
h.daily-dev-tips.com4 min read