Creeper

Results 222 comments of Creeper
trafficstars

可以看下 https://github.com/unicode-org/full-icu-npm 说明,看看安装完之后是否 full-icu 是不是可以正常使用。

测试 IE 11 后,发现整个汉字排序和 现在支持的 chrome/safari/firefox 有很大不同,如果要支持,需要的新字典和现在的有很多不同。 在尝试一些调整后 (常用汉字错误降低到 600 左右),发现还不如为 IE 重新定制一个字典... 工作量超出预期,所以暂停 ⏸️⏸️ 。

@DavidCai1993 `如果防止在一个事件监听器中监听同一个事件,接而导致死循环?`这一条有点问题。我觉得`arrayClone`主要是用来保证`emit`后执行了正确的回调队列(`emit`之前已注册的回调)。 1. 事实上,把`arrayClone`直接改成`function arrayClone(arr, n) { return arr; }`,跑你的例子并不会死循环。 2. `arrayClone`主要是用来保证`emit`后执行了正确的回调队列(`emit`之前已注册的回调),保证不会因为某个回调执行后导致后面的回答无法执行。 ```js function t () { console.log('t') } myEventEmitter.on('wtf', () => { console.log('0') myEventEmitter.prependListener('wtf', t) }) myEventEmitter.on('wtf', () =>...

Thanks. I update `istanbul` to `1.x` and solve the issue.

@carlitux I just use `[email protected]`. command is like: ``` bash "test-cov": "node_modules/.bin/babel-node node_modules/.bin/istanbul cover --dir test/coverage test/run.js" ``` And my repo: https://github.com/creeperyang/ysprite

### 五、位操作实现加法等特殊需求 怎么不用加号实现加法? 这里考虑两个特殊位操作符: - Bitwise AND (&):二进制数对应位都是1才返回1,否则0。 - Bitwise XOR (^):二进制数对应位不等(1个1、1个0)才返回1,否则0。 ```js const a = 5; // 00000000000000000000000000000101 const b = 3; // 00000000000000000000000000000011 console.log(a & b); // 00000000000000000000000000000001...

### 23. `Error: ES Modules may not assign module.exports or exports.*, Use ESM export syntax` babel 的报错,解决办法:代码中不要混用`import/export` 和 `require/module.exports`。

### 24. webpack@5 和 @babel@7 的问题 ```bash For the selected environment is no default script chunk format available: JSONP Array push can be chosen when 'document' or 'importScripts' is available....

@swimclan Do you mean *[ID3v2 Chapter Frame Addendum](https://en.wikipedia.org/wiki/ID3#ID3v2_chapters)*? It seems not widely supported as yet. It's not a must and wont be supported in the near future. Anyway, pr is...