結果 : how to get object type in javascript