Skip to content

Commit bcff7dd

Browse files
authored
Merge pull request rse#114 from nicholasdunbar/patch-1
Recommend preconditions for clarity
2 parents 8ca7f83 + d883cee commit bcff7dd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

features.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -400,8 +400,10 @@ Property Shorthand
400400

401401
Shorter syntax for common object property definition idiom.
402402

403+
6| var x = 0, y = 0;
403404
6| obj = { |x|, |y| };
404405

406+
5| var x = 0, y = 0;
405407
5| obj = { |x: x|, |y: y| };
406408

407409
Computed Property Names

0 commit comments

Comments
 (0)