ES3 member expressions literals transform

Turn member expression reserved word properties into literals.

Example

In

foo.catch;

Out

foo["catch"];

Installation

$ npm install babel-plugin-transform-es3-member-expression-literals

Usage

Add the following line to your .babelrc file:

{
  "plugins": ["transform-es3-member-expression-literals"]
}