CS-Interview-Knowledge-Map
CS-Interview-Knowledge-Map copied to clipboard
Build the best interview map. The current content includes JS, network, browser related, performance optimization, security, framework, Git, data structure, algorithm, etc.
Vue 2.6.8 中会先后尝试使用:`Promise`、`MutationObserver`、`setImmediate`,最后都不支持才会使用 `setTimeout`,是不是考虑更新一下文档并标注下版本。 下面这是 Vue 2.6.8 中的源码 ```JavaScript if (typeof Promise !== 'undefined' && isNative(Promise)) { const p = Promise.resolve() timerFunc = () => { p.then(flushCallbacks) // In problematic...
首先原来的295行是少了个参数的。那按照我的理解,这里应该是将随机位置元素交换到最右边。 然后重新把改过的代码运行发现sort([4,3,5,5,4,5])是会得到[3,4,5,5,4,5]的,那按照我的理解,应该需要加上308行这样,去交换小于基准值和等于基准值两者的位置。
这个 ``` onRejected = typeof onRejected === 'function' ? onRejected : r => throw r; ``` 改为 ``` onRejected = typeof onRejected === 'function' ? onRejected : r => {throw...
大佬,您好~我看您的图谱做得很精美,应该是gitbook搭的吧?我自己也搭了下,发现界面好丑,我把您的代码用gitbook发布,页面的样式也不对。 不知道是gitbook改版了,还是模板没生效。恳求大佬不吝赐教,我想希望可以培养写文档的习惯,跟大佬看齐。 
[MDN description of await](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/await#Description) the `expression` after await should return a fulfilled promise instead of a pending promise
 快排这里有问题
test
是否有英文翻译
https://yuchengkai.cn/docs/ 里面似乎没有英文版本, 请问后续有计划添加吗?
正则、new Date()、new Error() 。 date会返回一个字符串 正则和错误会返回一个空对象