1. 首页
  2. 数据库
  3. 其它
  4. babel plugin transform pipeline:将管道运算符编译为ES5 源码

babel plugin transform pipeline:将管道运算符编译为ES5 源码

上传者: 2021-02-01 22:49:50上传 ZIP文件 32.39KB 热度 16次
babel-plugin-transform-pipeline 将管道运算符( |> )编译为ES5 提案: 例 基本的 在 var user = { name : 'SuperPaintman' } ; function capitalize ( str ) { return str . toUpperCase ( ) ; } function sayHello ( name ) { return 'Hello, ' + name + '!' ; } var res = user . name | > capitalize | > sayHello ; // => "H
下载地址
用户评论