Uncaught TypeError: Cannot read property 'includes' of undefined
没记错的话includes是数组和字符串的方法,可能你用它的时候使用错了
var a;
a.includes(1)
是不是你浏览器不支持es6
includes是es6语法
https://www.runoob.com/jsref/jsref-string-includes.html