摘要: 1、用 in 关键字 var a = {name:"yang"} 'children' in a => false 2、hasOwnProperty var obj = {name:'jack'}; obj.hasOwnProperty('name'); // --> true obj.hasOwn 阅读全文
posted @ 2020-08-21 12:59 样子2018 阅读(4903) 评论(0) 推荐(0) 编辑