【问题记录】Do not access Object.prototype method‘hasOwnProperty’ from target object no-prototype-builtins
摘要:
写项目时发现如下错误: Do not access Object.prototype method ‘hasOwnProperty’ from target object no-prototype-builtins 发现是新版本的ESLint使用了禁止直接调用 Object.prototypes 的 阅读全文