結果 : javascript check if type of object