Array.prototype.indexOf called on null or undefined at Function.c.inArray (zepto.js<anonymous> (index.html:97)c.inArray @ zepto.js:2j @ zepto.js:2
这是97行前
我正在尝试阅读Zepto.js的源代码。函数matches中有一个我不明白的地方: if (!indexOf(element) return match函数matches用于确定元素是否与所提供的选择器匹配zepto.qsa()是Zepto的CSS选择器实现,它使用document.querySelectorAll和其他一些