vscode箭头函数快捷键

1,407 阅读1分钟

箭头函数快捷键

文件-首选项- 用户片段

选择JavaScript 添加代码

"Print to console": { "prefix": "ff", "body": [ "({1:param1}) => {{2:statements}}" ], "description": "箭头函数" }