Extract specific properties from an array of objects in JavaScript

welcome to shbcf.ru