結果 : javascript check type of custom object