title: Converting parts of an object to an array
body: <p>const employees =
  {
  firstName: &quot;Bill&quot;,
  lastName: &quot;Scott&quot;,
  salary: 2000
  },
  {
  firstName: &quot;jo&quot;,
  lastName: &quot;Smith&quot;,
  salary: 8000
  }
  ];</p>
  <p>How do I convert just the salaries to an array?</p>