結果 : javascript check if instance of object