js执行的问题?

发布于 6 年前作者 litang8299 次浏览最后编辑 6 年前来自 ask

请问为什么a函数报错 ,b函数不执行了

2 回复
yangkong
yangkong1 楼6 年前

this.data[‘A’]是undifined所以会报,not property ‘B’ of undefined error

wei05
wei052 楼4 年前

报什么错?