当我尝试在 FF 中加载我的页面时,我收到此错误:
TypeError: property Array.prototype.splice.call(...) is non-configurable and can't be deleted
这是原型
HTMLElement.prototype.selectorAll = function (selectors, fun) {
var sels = Array.prototype.splice.call(this.querySelectorAll(selectors), 0)
if (!fun) { return sels; }; fun.call(sels);
};
如何修复此错误?