JSFiddle - React, Tailwind, and code Playground

by Yurii Predborskyi

JavaScript

let ob = [{	ref: 'a'}, { ref: 'b'}, { ref: 'c'}];
let res = ob.map(item => item.ref);
console.log(res);