How to get the Sum of Array of Objects in JavaScript

How to get the Sum of Array of Objects in JavaScript