結果 : get array from list of objects javascript