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 - 130: Not supported
  2. 131: Not supported
  3. 132 - 134: Not supported

Edge

  1. 12 - 130: Not supported
  2. 131: Not supported

Safari

  1. 3.1 - 18.0: Not supported
  2. 18.1: Not supported
  3. 18.2 - TP: Not supported

Firefox

  1. 2 - 131: Not supported
  2. 132: Not supported
  3. 133 - 135: Not supported

Opera

  1. 9 - 113: Not supported
  2. 114: Not supported

IE

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

Chrome for Android

  1. 131: Not supported

Safari on iOS

  1. 3.2 - 18.0: Not supported
  2. 18.1: Not supported
  3. 18.2: Not supported

Samsung Internet

  1. 4 - 25: Not supported
  2. 26: 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. 131: Not supported

Firefox for Android

  1. 132: 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