1.indexOf vs includes
字符串 jsperf https://jsperf.com/test-indexof-vs-includes/8
var ret = !!~str.indexOf('one');
!! 表达式强行转为逻辑值
~按位非 -(X+1)
数组 jsperf https://jsperf.com/test-indexof-vs-includes/9
arr.includes(valueToFind[, fromIndex])
不支持需要>=IE9 IE
其他
https://jsperf.com/lodash-vs-array-prototype-methods