結果 : how to pop object from array in javascript