Skip to content

Commit 3c7c31c

Browse files
committed
move all docs to ecma6 folder
1 parent ee22e76 commit 3c7c31c

File tree

5 files changed

+4
-4
lines changed

5 files changed

+4
-4
lines changed
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

readme.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
#ECMAScript 6 Features
22

3-
##[Arrows](https://github.com/dnbard/es6-guide/blob/master/arrows.md)
3+
##[Arrows](https://github.com/dnbard/es6-guide/blob/master/examples/arrows.md)
44

55
Arrows are a function shorthand using the => syntax. They are syntactically similar to the related feature in C#, Java 8 and CoffeeScript. They support both expression and statement bodies. Unlike functions, arrows share the same lexical this as their surrounding code.
66

7-
##[Classes](https://github.com/dnbard/es6-guide/blob/master/classes.md)
7+
##[Classes](https://github.com/dnbard/es6-guide/blob/master/examples/classes.md)
88

99
ES6 classes are a simple sugar over the prototype-based OO pattern. Having a single convenient declarative form makes class patterns easier to use, and encourages interoperability. Classes support prototype-based inheritance, super calls, instance and static methods and constructors.
1010

11-
##[Enhanced Object Literals](https://github.com/dnbard/es6-guide/blob/master/objectLiterals.md)
11+
##[Enhanced Object Literals](https://github.com/dnbard/es6-guide/blob/master/examples/objectLiterals.md)
1212

1313
Object literals are extended to support setting the prototype at construction, shorthand for foo: foo assignments, defining methods and making super calls. Together, these also bring object literals and class declarations closer together, and let object-based design benefit from some of the same conveniences.
1414

15-
##[Template Strings](https://github.com/dnbard/es6-guide/blob/master/templateStrings.md)
15+
##[Template Strings](https://github.com/dnbard/es6-guide/blob/master/examples/templateStrings.md)
1616

1717
Template strings provide syntactic sugar for constructing strings. This is similar to string interpolation features in Perl, Python and more. Optionally, a tag can be added to allow the string construction to be customized, avoiding injection attacks or constructing higher level data structures from string contents.

0 commit comments

Comments
 (0)