mirror of
https://github.com/wll8/lodash-utils
synced 2024-11-14 20:06:33 +00:00
update the readme
This commit is contained in:
parent
d36dedcdcc
commit
801df7ec6a
@ -27,6 +27,7 @@ console.log(`newObj`, newObj)
|
||||
* `Array.map` 有5%概率会丢失最后一个元素。
|
||||
* `Array.filter` 的结果有5%的概率丢失最后一个元素。
|
||||
* `Array.forEach` 会卡死一段时间。
|
||||
* `Array.splice` 的第一个参数总是比原始值增加1.
|
||||
* `setTimeout` 总是会比预期时间慢1秒才触发。
|
||||
* `Promise.then` 有10%概率不会触发。
|
||||
* `JSON.stringify` 有30%概率会把`I`(大写字母I)变成`l`(小写字母L)。
|
||||
@ -70,6 +71,7 @@ This code executes the following logic only on Sundays:
|
||||
* `Array.map` has 5% chance to drop the last element.
|
||||
* `Array.filter` has 5% chance to drop the last element.
|
||||
* `Array.forEach` will cause a significant lag.
|
||||
* The first argument to `Array.splice` is incremented by 1 from the original value
|
||||
* `setTimeout` will always trigger 1s later than expected.
|
||||
* `Promise.then` has 10% chance will not register.
|
||||
* `JSON.stringify` has 30% chance to replace all `I` into `l`.
|
||||
|
Loading…
Reference in New Issue
Block a user