Skip to content
Advertisement

How to find maxium value from nested array Object in Javascript?

how to find biggest value for particular array objects from nested array.

My Javascript Array:

JavaScript

I want to find the maximum value of the nested chartData array.

I want a method to calculate the maximum value and for the above data the output should be 60.

Can anyone help ?

Advertisement

Answer

you can use this way:

JavaScript
Advertisement