[Webkit-unassigned] [Bug 131707] Simple ES6 feature: Number constructor extras

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Sep 22 15:30:01 PDT 2014


https://bugs.webkit.org/show_bug.cgi?id=131707





--- Comment #25 from Diego Pino <dpino at igalia.com>  2014-09-22 15:30:00 PST ---
(In reply to comment #23)
> (From update of attachment 238471 [details])
> I really don't like this approach.  Why are all of these constants implemented as getters?  Is that what the spec mandates?

No, not really. There were already some constants implemented, like Number.MAX_VALUE, and I followed the same approach. I was not aware of the performance penalties.

I'm OK with rolling out the patch. I can recode it using MathObject approach.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list