Mrqian

Results 2 comments of Mrqian

`function _indexOf(str, reg, fromIndex = 0) { let index = fromIndex; const { length } = str; if (index = length) return -1; const arr = str.slice(fromIndex).split(reg); return arr.length >...