我已經把我的問題,下面一起在代碼中的註釋裏:對象和屬性在JavaScript
var box = {};
box.content = box; // box{ 'content': {} } right?
show('content' in box); // true because content exist inside of the box object
show('content' in box.content); // false because box.content contains an empty object! Right?
咦?這並沒有太大的意義,並且可以通過自己做一些測試來輕鬆地回答... – BenM 2013-03-26 16:57:45
'ReferenceError:show is not defined' – ShuklaSannidhya 2013-03-26 16:59:11
''''''''content''的無盡鏈條 - - >'box' - >'content' - >'hell' ... – ShuklaSannidhya 2013-03-26 17:02:01