Skip to content

Instantly share code, notes, and snippets.

@AjayPoshak
Created January 20, 2018 15:52
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 AjayPoshak/008217090b30c8db4bef1f2c812b3eb3 to your computer and use it in GitHub Desktop.
Save AjayPoshak/008217090b30c8db4bef1f2c812b3eb3 to your computer and use it in GitHub Desktop.
instantiate prototypes
var eventsNotifs = new Notification();
console.log(eventsNotifs.notifs); // Output: A, B, C
eventsNotifs.markAllNotifsRead(); // Mark all notification as read
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment