issues Search Results · repo:Mayandev/fe-interview-handwrite language:JavaScript
Filter by
8 results
(54 ms)8 results
inMayandev/fe-interview-handwrite (press backspace or delete to remove)zcy0264
- Opened on Mar 5, 2024
- #16
lincycode
- 4
- Opened on Oct 18, 2022
- #13
Function.prototype.myCall = function (context, ...paramsArr) { if (context === null || context === undefined) { context
= window; } else { context = Object(context); // *** } const specialPrototype = Symbol( ...
WhaleMr
- Opened on Oct 1, 2022
- #12
仓库里的实现输出是 number 不是 number[],然后 arr 的状态转移也不太对。不知道是题不一样还是写成了别的。
自己实现了一下
function lis(nums: number[]): number[]{
if (nums.length === 0) return [];
const arr = new Array(nums.length).fill(1); // 保存以当前位置结尾的最大连续子串长度 ...
Sansui233
- 1
- Opened on Sep 25, 2021
- #10
res.length === arr.length 这一句,并不能保证所有promise都resolve了 若res[1]=1,则res.length=2; 但res[0]对应的promise不一定resolve了。
ascodelife
- 2
- Opened on Dec 9, 2020
- #7
bind函数的返回值里可以传递参数。
我的实现是:
Function.prototype.bindNew = function (context, ...args) {
return (...newArgs) = this.apply(context, [...args, ...newArgs]);
};
// test
const test = {
name: fy ,
showName: ...
fkworld
- 1
- Opened on Oct 22, 2020
- #1

Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Press the /
key to activate the search input again and adjust your query.
Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Restrict your search to the title by using the in:title qualifier.