牛客313085457号
牛客313085457号
全部文章
分类
题解(6)
归档
标签
去牛客网
登录
/
注册
牛客313085457号的博客
全部文章
(共6篇)
题解 | #HTML+CSS+JS综合之点击按钮隐藏元素#
{"css":".box {\n width: 100px;\n height: 100px;\n border: ...
HTML/CSS/JavaScript
2021-10-21
0
686
题解 | #返回函数#
{"css":"","js":"function functionFunction(str) {\n return f = function(arr){\n return str + ', ' + arr\n }\n}","html":"","lib...
HTML/CSS/JavaScript
2021-10-17
1
512
题解 | #函数的上下文#
{"css":"","js":"function speak(fn, obj) {\n //return fn.call(obj)\n //return fn.apply(obj)\n // return fn.bind(obj)()\n obj.fn = fn\n r...
HTML/CSS/JavaScript
2021-10-17
1
488
题解 | #计时器#
{"css":"","js":"function count(start, end) {\n console.log(start++);\n var timer = setInterval(function(){\n if(start<=end){\n ...
HTML/CSS/JavaScript
2021-10-17
1
420
题解 | #查找重复元素#
{"css":"","js":"\nfunction duplicates(arr) {\n return arr.filter(function(item,index,array){\n return array.indexOf(item) !== array.last...
HTML/CSS/JavaScript
2021-10-17
1
461
题解 | #查找元素位置#
{"css":"","js":"/*function findAllOccurrences(arr, target) {\n var newArr =&nb...
HTML/CSS/JavaScript
2021-10-17
1
396