答案是不会的

 

x=1;

x.num=1

x+x.num=====>1+undefined=NaN

 

x='a';

x.num='b'

x+x.num====>'a'+undefined='aundefined';

 

 

论一个笔试题

相关文章: