Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function notify(text){
- var notification = new Notification('Hello!', {body: text});
- notification.onclick = function(){
- console.log("Hello World!");
- }
- }
- notify("Hi!" )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement