摘要:
箭头函数: let fun = () => { console.log('lalalala'); } 普通函数: function fun() { console.log('lalla'); } 箭头函数相当于匿名函数,并且简化了函数定义。箭头函数有两种格式,一种只包含一个表达式,连{ ... }和 阅读全文
posted @ 2021-12-19 14:53
雾观远山
阅读(142)
评论(0)
推荐(0)
2021年12月19日 #