Keeps saying result property is not defined. Why?

前端 未结 3 1137
一生所求
一生所求 2021-01-23 08:16

Here is my object and I have defined all the properties and functions but it still gives me this error result is not defined.

Here is my code



        
3条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-01-23 08:51

    try XML.result

    See Understanding "this" in Javascript for a discussion of the ins and outs of this and what it points to a different times.

提交回复
热议问题