結果 : how to check type object in javascript