当前位置:网站首页>2021-08-10
2021-08-10
2022-04-21 12:57:00 【菜鸟妙妙不妙】
学习日记2021.08.10
#学习日记
白天上班,晚上回家洗完澡整理一下已经十点多了,公司离家太远了呜呜呜,明年要搬近点。
- ${}



3.calculate()函数根据传入的操作符的不同而执行不同的计算。
(因为第一个参数是命名参数且已经被使用,因此遍历arguments对象时,索引要从1开始而不是从0开始)


4.ES6引入了rest参数,在函数的命名参数前添加三个点,就表明这是一个rest参数,用于获取函数的多余参数。rest参数就是一个数组,包含自它之后传入的所有参数,通过这个数组名就可以一一访问里面的参数。


!!!需要注意的是,每个函数最多只能声明一个rest参数,并且它只能是最后一个参数。


其他简单的都没写,记录一下,希望以后可以成为一个技术大牛牛!
版权声明
本文为[菜鸟妙妙不妙]所创,转载请带上原文链接,感谢
https://blog.csdn.net/weixin_51937505/article/details/119550130
边栏推荐
- Redis - breakdown, penetration, avalanche
- mysql数据库操作语句练习
- Title and answer of G3 boiler water treatment certificate in 2022
- How to use mind map and flowchart for free (draw.io vs code integration)
- Is the securities account opened by caibang safe? Or is it safer to open in securities companies?
- [thesis study] Yolo V2
- Operation of simulated examination platform of test question bank for operation certificate of safety management personnel of hazardous chemical business units in 2022
- pytest多文件执行顺序控制
- Initial response Kit
- Revit二次开发——创建墙体(2)(第十一期)
猜你喜欢

Filter and listener listeners

redis-常见问题

Event Analysis | sharing the runner up scheme of table tennis timing action positioning competition

S TYLE N E RF: A S TYLE - BASED 3D-A WARE G ENERA - TOR FOR H IGH - RESOLUTION I MAGE S YNTHESIS

Filter 过滤器和 Listener 监听器

CV技术指南免费版知识星球

Jiaozuo Third People's Hospital joined hands with meichuang to open a new situation of data security construction

Village vlog harvest 8000w + play, another flow ceiling?

53w字!阿里首推系统性能优化指南太香了,堪称性能优化最优解

Qfileinfo file and folder operations
随机推荐
挖财的证券账户怎么开户?在券商开户是不是比较安全一些?
CPT 102_LEC 10
Creating plug-in panel for Revit secondary development (issue 15)
Flowable activiti7 countersign
L2-013 red alarm (25 points)
Operation of simulated examination platform of test question bank for operation certificate of safety management personnel of hazardous chemical business units in 2022
Revit二次开发——创建楼板(第十二期)
Revit 二次开发入门教程--用HelloRevit进行程序调试(第四期)
2021-2022 年度广东省职业院校学生专业技能大赛
CV技术指南免费版知识星球
Fibonacci sequence
[untitled]
斐波那契数列
主从复制--03---同步数据一致性问题
China Database ranking in April 2022: the spring breeze blows the face, the spring is warm, and the score rises in April
3、 Label preparation
The soul of the frame - Reflection
Revit二次开发之——lookup的使用方法(第七期)
[fun bath] take you to IELTS task 1 essay 7 + -- Dynamic + static chart & Mixed chart (Table / pie chart / line graph / bar chart) 2022-4-18
业内视频超分辨率新标杆,快手&大连理工研究登上CVPR 2022