requestPermission

The requestPermission() static method of the Notification interface requests permission from the user for the current origin to display notifications.

MDN Reference