« Bugzilla Issues Index
#1097 — Ensure ArrowFunction w/o { FunctionBody } is specified
- bug_id:
1097
- creation_ts:
2012-11-29 10:23:00 -0800
- short_desc:
Ensure ArrowFunction w/o { FunctionBody } is specified
- delta_ts:
2012-12-01 20:03:59 -0800
- product:
Draft for 6th Edition
- component:
new feature
- version:
Rev 12: November 22, 2012 Draft
- rep_platform:
All
- op_sys:
All
- bug_status:
RESOLVED
- resolution:
WORKSFORME
- priority:
Normal
- bug_severity:
enhancement
- everconfirmed:
true
- reporter:
Rick Waldron
- assigned_to:
Allen Wirfs-Brock
- cc:
waldron.rick
- commentid:
2905
- comment_count:
0
- who:
Rick Waldron
- bug_when:
2012-11-29 10:23:10 -0800
eg: let square = x => x*x;
- Implicit return
?
http://wiki.ecmascript.org/doku.php?id=harmony:arrow_function_syntax
- commentid:
2971
- comment_count:
1
- who:
Allen Wirfs-Brock
- bug_when:
2012-12-01 11:42:46 -0800
yes, it's specified. There is an Evaluation operation in 13.2 for that ConciseBody production that does the necessary expression evaluation and return
- commentid:
2973
- comment_count:
2
- who:
Rick Waldron
- bug_when:
2012-12-01 20:03:59 -0800
Great, thanks for clarifying.