ES6: link more headlines

This commit is contained in:
Rico Sta. Cruz 2015-03-11 18:47:42 +08:00
parent c22f03dba0
commit 5e89a22cdc
1 changed files with 3 additions and 3 deletions

6
es6.md
View File

@ -22,7 +22,7 @@ Promise.reject(/*...*/)
Promise.resolve(/*...*/) Promise.resolve(/*...*/)
``` ```
### Block scoping ### [Block scoping](http://babeljs.io/docs/learn-es6/#let-const)
`let` is the new `var`. `let` is the new `var`.
```js ```js
@ -101,7 +101,7 @@ App = {
Available via the [Babel] transpiler. Available via the [Babel] transpiler.
{:.brief-intro.center.top-space-0} {:.brief-intro.center.top-space-0}
### Module imports ### [Module imports](http://babeljs.io/docs/learn-es6/#modules)
`import` is the new `require()`. `import` is the new `require()`.
```js ```js
@ -118,7 +118,7 @@ import { indent } from 'helpers';
import { indentSpaces as indent } from 'helpers'; import { indentSpaces as indent } from 'helpers';
``` ```
### Module exports ### [Module exports](http://babeljs.io/docs/learn-es6/#modules)
`export` is the new `module.exports =`. `export` is the new `module.exports =`.
```js ```js