seroval
Version:
Stringify JS values
21 lines (18 loc) • 411 B
text/typescript
/**
* References
* - https://compat-table.github.io/compat-table/es6/
* - MDN
*/
export const enum Feature {
AggregateError = 0x01,
ArrowFunction = 0x02,
ErrorPrototypeStack = 0x04,
ObjectAssign = 0x08,
BigIntTypedArray = 0x10,
}
export const ALL_ENABLED =
Feature.AggregateError |
Feature.ArrowFunction |
Feature.ErrorPrototypeStack |
Feature.ObjectAssign |
Feature.BigIntTypedArray;