How to transpile arrow functions with immediate return to BlockStatement + ReturnStatement using Babel?

后端 未结 0 359
暗喜
暗喜 2020-12-17 17:29

I\'d like to convert arrow functions which are having an immediate return to have Block and Return statements.

// Input         


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