Supporting feature tests directly

Domenic Denicola d at
Sat Mar 21 21:45:28 UTC 2015

I think you're referring to the `eval` function?

-----Original Message-----
From: es-discuss [mailto:es-discuss-bounces at] On Behalf Of Kyle Simpson
Sent: Sunday, March 22, 2015 05:28
To: es-discuss at
Subject: Supporting feature tests directly

Has there been any consideration or discussion for direct support of feature tests for ES7+ features/syntax? I'm thinking specifically of things which are difficult or impossible to just simply test for, like via the existence of some identifier.

I have an idea of what that could look like, and am happy to discuss further here if appropriate. But I was just checking to see if there's any prior art around related specifically to JS to consider before I do?
es-discuss mailing list
es-discuss at

More information about the es-discuss mailing list