Fix a typo'd line

Summary:
Borrowed from the CLA-less https://github.com/facebook/react-native/pull/10319/files
Closes https://github.com/facebook/react-native/pull/10469

Differential Revision: D4048073

Pulled By: JoelMarcey

fbshipit-source-id: cf413cf13c5e7292ac8e84a2f5cc2ad1316a73c8
This commit is contained in:
Kevin Lacker 2016-10-19 16:24:29 -07:00 committed by Facebook Github Bot
parent f9779e3eb7
commit f6e5bf5263
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ ES6
* [for...of](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/for...of): `for (var num of [1, 2, 3]) {}`
* [Modules](http://babeljs.io/docs/learn-es2015/#modules): `import React, { Component } from 'react';`
* [Computed Properties](http://babeljs.io/docs/learn-es2015/#enhanced-object-literals): `var key = 'abc'; var obj = {[key]: 10};`
* Object Consise Method: `var obj = { method() { return 10; } };`
* [Object Concise Method](http://babeljs.io/docs/learn-es2015/#enhanced-object-literals): `var obj = { method() { return 10; } };`
* [Object Short Notation](http://babeljs.io/docs/learn-es2015/#enhanced-object-literals): `var name = 'vjeux'; var obj = { name };`
* [Rest Params](https://github.com/sebmarkbage/ecmascript-rest-spread): `function(type, ...args) { }`
* [Template Literals](http://babeljs.io/docs/learn-es2015/#template-strings): ``var who = 'world'; var str = `Hello ${who}`;``