How to convert an ifee old ways function in arrow function in a single line

前端 未结 0 1994
悲&欢浪女
悲&欢浪女 2020-12-06 07:24

how would you convert:

(function(age) {return `your ${age}`;
})(10);

to an arrow function? I tried but doesnt work:

(const yea         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题