摘要: 一、点(.)或方框号([ ]) var obj = { test: '123' } obj.test obj['test'] 二、in 运算符 var obj = { test: '123' } test in obj 三、hasOwnProperty() var obj = { test: '12 阅读全文
posted @ 2019-10-15 18:13 史海莹 阅读(374) 评论(0) 推荐(0) 编辑