Skip to content

Commit

Permalink
compat-table: sort kangax feature map
Browse files Browse the repository at this point in the history
  • Loading branch information
evanw committed Nov 19, 2023
1 parent cd7b93f commit 4c64c19
Showing 1 changed file with 27 additions and 27 deletions.
54 changes: 27 additions & 27 deletions compat-table/src/kangax.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,61 +23,61 @@ const features: Record<string, JSFeature> = {
'Object/array literal extensions: Setter accessors': 'ObjectAccessors',

// ES6 features
'arrow functions': 'Arrow',
'class': 'Class',
'const': 'ConstAndLet',
'default function parameters': 'DefaultArgument',
'rest parameters': 'RestArgument',
'spread syntax for iterable objects': 'ArraySpread',
'object literal extensions': 'ObjectExtensions',
'for..of loops': 'ForOf',
'template literals': 'TemplateLiteral',
'destructuring, declarations': 'Destructuring',
'destructuring, assignment': 'Destructuring',
'destructuring, declarations': 'Destructuring',
'destructuring, parameters': 'Destructuring',
'new.target': 'NewTarget',
'const': 'ConstAndLet',
'let': 'ConstAndLet',
'arrow functions': 'Arrow',
'class': 'Class',
'for..of loops': 'ForOf',
'generators': 'Generator',
'Unicode code point escapes': 'UnicodeEscapes',
'let': 'ConstAndLet',
'new.target': 'NewTarget',
'object literal extensions': 'ObjectExtensions',
'RegExp "y" and "u" flags': 'RegexpStickyAndUnicodeFlags',
'rest parameters': 'RestArgument',
'spread syntax for iterable objects': 'ArraySpread',
'template literals': 'TemplateLiteral',
'Unicode code point escapes': 'UnicodeEscapes',

// >ES6 features
'async functions': 'AsyncAwait',
'Asynchronous Iterators: async generators': 'AsyncGenerator',
'Asynchronous Iterators: for-await-of loops': 'ForAwait',
'BigInt: basic functionality': 'Bigint',
'exponentiation (**) operator': 'ExponentOperator',
'Hashbang Grammar': 'Hashbang',
'Logical Assignment': 'LogicalAssignment',
'nested rest destructuring, declarations': 'NestedRestBinding',
'nested rest destructuring, parameters': 'NestedRestBinding',
'async functions': 'AsyncAwait',
'nullish coalescing operator (??)': 'NullishCoalescing',
'object rest/spread properties': 'ObjectRestSpread',
'optional catch binding': 'OptionalCatchBinding',
'optional chaining operator (?.)': 'OptionalChain',
'RegExp Lookbehind Assertions': 'RegexpLookbehindAssertions',
'RegExp named capture groups': 'RegexpNamedCaptureGroups',
'RegExp Unicode Property Escapes': 'RegexpUnicodePropertyEscapes',
's (dotAll) flag for regular expressions': 'RegexpDotAllFlag',
'Asynchronous Iterators: async generators': 'AsyncGenerator',
'Asynchronous Iterators: for-await-of loops': 'ForAwait',
'optional catch binding': 'OptionalCatchBinding',
'BigInt: basic functionality': 'Bigint',
'optional chaining operator (?.)': 'OptionalChain',
'nullish coalescing operator (??)': 'NullishCoalescing',
'Logical Assignment': 'LogicalAssignment',
'Hashbang Grammar': 'Hashbang',

// Public fields
'instance class fields: public instance class fields': 'ClassField',
'instance class fields: computed instance class fields': 'ClassField',
'static class fields: public static class fields': 'ClassStaticField',
'instance class fields: public instance class fields': 'ClassField',
'static class fields: computed static class fields': 'ClassStaticField',
'static class fields: public static class fields': 'ClassStaticField',

// Private fields
'instance class fields: optional deep private instance class fields access': 'ClassPrivateField',
'instance class fields: optional private instance class fields access': 'ClassPrivateField',
'instance class fields: private instance class fields basic support': 'ClassPrivateField',
'instance class fields: private instance class fields initializers': 'ClassPrivateField',
'instance class fields: optional private instance class fields access': 'ClassPrivateField',
'instance class fields: optional deep private instance class fields access': 'ClassPrivateField',
'static class fields: private static class fields': 'ClassPrivateStaticField',

// Private methods
'private class methods: private instance methods': 'ClassPrivateMethod',
'private class methods: private accessor properties': 'ClassPrivateAccessor',
'private class methods: private static methods': 'ClassPrivateStaticMethod',
'private class methods: private instance methods': 'ClassPrivateMethod',
'private class methods: private static accessor properties': 'ClassPrivateStaticAccessor',
'private class methods: private static methods': 'ClassPrivateStaticMethod',

// Private "in"
'Ergonomic brand checks for private fields': 'ClassPrivateBrandCheck',
Expand Down

0 comments on commit 4c64c19

Please sign in to comment.