Skip to content

Instantly share code, notes, and snippets.

@Shadid12
Created November 4, 2020 14:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Shadid12/774283dc977f6054a778b2371b3ffda6 to your computer and use it in GitHub Desktop.
Save Shadid12/774283dc977f6054a778b2371b3ffda6 to your computer and use it in GitHub Desktop.
class Observable {
constructor() {
this.fnArray = [];
}
subscribe() {}
emit() {}
}
const o = new Observable();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment