Hey there, I'm facing a challenge where I need to extract the values of wave1 and wave2 from an array using underscore.js.
array = [{"id":1,"name":"Monoprix", "pdv":16,"graph":[{"wave1":22,"wave2":11}]} ;
I attempted the following:
$scope.wave1 = array.graph.wave1;
console.log($scope.wave1);
However, the console displays 'Unidentified' as the output. Can anyone provide assistance with this issue?