Bug 146507 - [ES6] Implement ES6 arrow function syntax. toString should return body of arrow function
Summary: [ES6] Implement ES6 arrow function syntax. toString should return body of arr...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on: 144956
Blocks: 140855
  Show dependency treegraph
 
Reported: 2015-07-01 03:33 PDT by GSkachkov
Modified: 2015-09-18 17:46 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description GSkachkov 2015-07-01 03:33:22 PDT
toString can be tested by following statements:
var af = x => x + 1;
af.toString() === 'x => x + 1';
Comment 1 GSkachkov 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'
Comment 2 Yusuke Suzuki 2015-09-18 14:25:33 PDT
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?
Comment 3 GSkachkov 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.