lib/Extract Given Property Values from Objects as Array.js
// program to extract value as an array from an array of objects
program to extract value as an array from an array of objects
program to extract value as an array from an array of objects
function extractValue(arr, prop) {
    let extractedValue = arr.map(item => item[prop]);
    return extractedValue;
}
function extractValue ( arr , prop ) { let extractedValue = arr . map ( item => item [ prop ] ) ; return extractedValue ; }
program to extract value as an array from an array of objects
program to extract value as an array from an array of objects
// extract value from property