結果 : javascript check for object type