結果 : how to define array of object in javascript