Bug 146507

Summary: [ES6] Implement ES6 arrow function syntax. toString should return body of arrow function
Product: WebKit Reporter: GSkachkov <gskachkov>
Component: JavaScriptCoreAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: joepeck, saam, ysuzuki
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 144956    
Bug Blocks: 140855    

GSkachkov
Reported 2015-07-01 03:33:22 PDT
toString can be tested by following statements: var af = x => x + 1; af.toString() === 'x => x + 1';
Attachments
GSkachkov
Comment 1 2015-08-19 01:25:43 PDT
In current version: var af = x => x + 1; af.toString();// returns 'x => x + 1;' should return without ; - 'x => x + 1'
Yusuke Suzuki
Comment 2 2015-09-18 14:25:33 PDT
GSkachkov
Comment 3 2015-09-18 16:58:06 PDT
(In reply to comment #2) > I think https://bugs.webkit.org/show_bug.cgi?id=148148 and > https://bugs.webkit.org/show_bug.cgi?id=148445 already fixed this issue, > right? Yes, that is correct. But I don't have permission to close this issue.
Note You need to log in before you can comment on or make changes to this bug.