obj.hasOwnProperty("key"); 原地址:https://blog.csdn.net/feicongcong/article/details/53463872 转载于:https://www.cnblogs.com/guxingy/p/9402348.html