【发布时间】:2017-08-12 07:41:51
【问题描述】:
请分享您对以下输出的想法。
var a = '';
console.log(a); //this logs nothing as expected.
a = 'triven';
var a = {};
console.log(a); // How javascript is aware of property here that is defined below.
a.name = 'triven';
【问题讨论】:
-
将鼠标悬停在“i”上
-
你怎么了?
标签: javascript