Skip to content

Commit

Permalink
Merge pull request #114 from nicholasdunbar/patch-1
Browse files Browse the repository at this point in the history
Recommend preconditions for clarity
  • Loading branch information
rse authored Apr 11, 2018
2 parents 8ca7f83 + d883cee commit bcff7dd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions features.txt
Original file line number Diff line number Diff line change
Expand Up @@ -400,8 +400,10 @@ Property Shorthand

Shorter syntax for common object property definition idiom.

6| var x = 0, y = 0;
6| obj = { |x|, |y| };

5| var x = 0, y = 0;
5| obj = { |x: x|, |y: y| };

Computed Property Names
Expand Down

0 comments on commit bcff7dd

Please sign in to comment.