When visiting a website or while using any application such as Outlook or Teams in Windows 11 or Windows 10, if you receive a Script Error, then this post will help you troubleshoot the problem.
Is the Outlook (new) app not sending notifications on your desktop? Several users have reported that they are not receiving notifications for new emails, despite having enabled notification settings.