Decorators

- UNOFF

ECMAScript Decorators are an in-progress proposal for extending JavaScript classes. Decorators use a special syntax, prefixed with an @ symbol and placed immediately before the code being extended.

Chrome

  1. 4 - 125: Not supported
  2. 126: Not supported
  3. 127 - 129: Not supported

Edge

  1. 12 - 125: Not supported
  2. 126: Not supported

Safari

  1. 3.1 - 17.4: Not supported
  2. 17.5: Not supported
  3. 17.6 - TP: Not supported

Firefox

  1. 2 - 126: Not supported
  2. 127: Not supported
  3. 128 - 130: Not supported

Opera

  1. 9 - 109: Not supported
  2. 110: Not supported

IE

  1. 5.5 - 10: Not supported
  2. 11: Not supported

Chrome for Android

  1. 126: Not supported

Safari on iOS

  1. 3.2 - 17.4: Not supported
  2. 17.5: Not supported
  3. 17.6 - 18.0: Not supported

Samsung Internet

  1. 4 - 24: Not supported
  2. 25: Not supported

Opera Mini

  1. all: Not supported

Opera Mobile

  1. 10 - 12.1: Not supported
  2. 80: Not supported

UC Browser for Android

  1. 15.5: Not supported

Android Browser

  1. 2.1 - 4.4.4: Not supported
  2. 126: Not supported

Firefox for Android

  1. 127: Not supported

QQ Browser

  1. 14.9: Not supported

Baidu Browser

  1. 13.52: Not supported

KaiOS Browser

  1. 2.5: Not supported
  2. 3: Not supported

While not yet supported natively in browsers, decorators are supported by a number of transpiler tools.

Resources:
Babel plug-in for decorators
Bug on Firefox support
A minimal guide to JavaScript (ECMAScript) Decorators and Property Descriptor of the Object
JavaScript Decorators: What They Are and When to Use Them
Decorators in TypeScript