mirror of https://github.com/tc39/test262.git
1.0 KiB
1.0 KiB
Feature Flags
Current, post-ES2015, flags used to identify new features:
async-functions
: Async Functionsasync-iteration
: Async Iteration and Generatorsobject-rest
: Object rest/spread propertiesobject-spread
: Object rest/spread propertiesregexp-dotall
: RegExp s (dotAll) flagregexp-lookbehind
: RegExp lookBehindregexp-named-groups
: RegExp named groups capturingregexp-unicode-property-escapes
: RegExp Unicode Property EscapesSharedArrayBuffer
Symbol.asyncIterator
While it's mostly optional when already in a current released specification, it's highly recommended to reuse the features flags for any matching case in new tests.