babel-plugin-transform-es3-property-literals
Ensure that reserved words are quoted in object property keys
Example
In
var foo = {};
Out
var foo = {};
Installation
npm install --save-dev babel-plugin-transform-es3-property-literals
Usage
.babelrc
(Recommended)
Via .babelrc
Via CLI
babel --plugins transform-es3-property-literals script.js
Via Node API
;