SHARE
TWEET

Untitled

a guest Nov 14th, 2017 55 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function Console(target) {
  2.   console.log('Our decorated class', target);
  3. }
  4.    
  5. @Console
  6. class ExampleClass {
  7.   constructor() {
  8.     console.log('Yo!');
  9.   }
  10. }
RAW Paste Data
Top