結果 : get array from array of objects javascript