On Fri, Jun 6, 2014 at 8:38 AM, Mark S. Miller <[email protected]> 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
_______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

