Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions features.txt
Original file line number Diff line number Diff line change
Expand Up @@ -400,9 +400,9 @@ Property Shorthand

Shorter syntax for common object property definition idiom.

6| obj = { |x|, |y| };
6| let obj = { |x|, |y| };

5| obj = { |x: x|, |y: y| };
5| let obj = { |x: x|, |y: y| };

Computed Property Names
-----------------------
Expand All @@ -425,7 +425,7 @@ Method Properties
Support for method notation in object property definitions,
for both regular functions and generator functions.

6| obj = {
6| let obj = {
6| |foo (a, b)| {
6| ...
6| },
Expand All @@ -437,7 +437,7 @@ for both regular functions and generator functions.
6| }
6| };

5| obj = {
5| let obj = {
5| foo|: function| (a, b) {
5| ...
5| },
Expand Down