JSFiddle - React, Tailwind, and code Playground
JavaScript
let ob = [{ ref: 'a'}, { ref: 'b'}, { ref: 'c'}];
let res = ob.map(item => item.ref);
console.log(res);
let ob = [{ ref: 'a'}, { ref: 'b'}, { ref: 'c'}];
let res = ob.map(item => item.ref);
console.log(res);