SeanGXY
SeanGXY
全部文章
题解
归档
标签
去牛客网
登录
/
注册
SeanGXY的博客
全部文章
/ 题解
(共14篇)
题解 | #_objectCreate#
const _objectCreate = proto => { // 补全代码 let obj = new Object(); obj.__proto__ = proto; return obj; }
HTML/CSS/JavaScript
2022-05-06
0
282
题解 | #Array.reduce#
Array.prototype._reduce = function (fn){ if(typeof fn !== "function") return ; let num = 0; for(let i = 0;i<this.length;i++){ num...
HTML/CSS/JavaScript
2022-05-06
0
230
题解 | #实现Array.filter函数的功能
Array.prototype._filter = function (fn){ if(typeof fn !== "function") return ; let arr = []; for(let i = 0;i<this.length;i++){ if...
HTML/CSS/JavaScript
2022-05-06
0
164
题解 | #Array.map#
Array.prototype._map = function (fn){ if(typeof fn !== "function") return ; let arr = []; for(let i = 0;i<this.length;i++){ arr.p...
HTML/CSS/JavaScript
2022-05-06
3
287
首页
上一页
1
2
下一页
末页