i want to populate an array with the value of property name if the num matches with the property num of array of objects. i want to do this in ES5, how can i do? example arr['Luke', 'Martin']
var num = 1
arr = []
arrObj = [{
  name: 'Mark',
  num: 3
},
{
name: 'Paul',
 num: 4
 },
{
name: 'Luke',
 num: 1
 },
 {
 name: 'Martin',
 num: 1
 }
 ]
 
    