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 - 153: Not supported
  2. ❌ 154: Not supported
  3. ❌ 155 - 157: Not supported

Edge

  1. ❌ 12 - 151: Not supported
  2. ❌ 152: Not supported

Safari

  1. ❌ 3.1 - 26.6: Not supported
  2. ❌ 27: Not supported
  3. ❌ 27.1 - TP: Not supported

Firefox

  1. ❌ 2 - 155: Not supported
  2. ❌ 156: Not supported
  3. ❌ 157 - 159: Not supported

Opera

  1. ❌ 9 - 134: Not supported
  2. ❌ 135: Not supported

IE

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

Chrome for Android

  1. ❌ 152: Not supported

Safari on iOS

  1. ❌ 3.2 - 26.6: Not supported
  2. ❌ 27.0: Not supported
  3. ❌ 27.1 - 27.2: Not supported

Samsung Internet

  1. ❌ 4 - 29: Not supported
  2. ❌ 30: 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. ❌ 152: Not supported

Firefox for Android

  1. ❌ 156: 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