Moodle Confirm Box

require(['core/notification’], function(notification) {
    notification.alert('Hello', 'Welcome to my site!', 'Continue');
});
Different Dunlin