結果 : how to convert object to array in javascript using spread operator