added examples for transforms. [skip ci] (#5393)
This commit is contained in:
@@ -2,6 +2,22 @@
|
||||
|
||||
> Apply ES2015 function.name semantics to all functions
|
||||
|
||||
## Examples
|
||||
|
||||
**In**
|
||||
|
||||
```javascript
|
||||
let number = (x) => x
|
||||
```
|
||||
|
||||
**Out**
|
||||
|
||||
```javascript
|
||||
var number = function number(x) {
|
||||
return x;
|
||||
};
|
||||
```
|
||||
|
||||
## Installation
|
||||
|
||||
```sh
|
||||
|
||||
Reference in New Issue
Block a user