Update plugins READMEs from babel.github.io [skip ci] (#4931)

This commit is contained in:
Tommaso
2016-12-02 15:07:16 -08:00
committed by Brian Ng
parent 81575bcdfe
commit 27e201e0e1
24 changed files with 482 additions and 42 deletions

View File

@@ -1,6 +1,28 @@
# babel-plugin-transform-jscript
Babel plugin to fix buggy JScript named function expressions
> This plugin allows Babel to transform named function expressions into function declarations to get around some [particularly nasty JScript bugs](https://kangax.github.io/nfe/#jscript-bugs) related to name function expressions.
## Example
**In**
```javascript
var foo = function bar() {
};
```
**Out**
```javascript
"use strict";
var foo = (function () {
function bar() {}
return bar;
})();
```
## Installation