3👍
✅
You can use map()
to transform array values like
const values = skills.map(skill => skill.skill_name);
Source:stackexchange.com