My ECMAScript 7 wishlist

Andrea Giammarchi andrea.giammarchi at
Fri Jun 6 15:25:14 PDT 2014

On Fri, Jun 6, 2014 at 8:38 AM, Mark S. Miller <erights at> wrote:

>  The most common way to do such feature testing is to get the property and
> see if it is falsy.

this is why for years many of us have been advocating the usage of `'name'
in object` instead of passing through getters ... but I can see the problem
when it comes to retrieve, let's say `requestAnimationFrame`, passing
through all prefixes ...

About that, if I can add one wish for ES7, I really wish that if there's
anything that works with a prefix, an `experimentalPrefix` property is
exposed somewhere so that we can stop guessing which one would work for the
current engine and simplify features detections too.

Best Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list