title: Programmatically exit from JavaScript based UWP application
body: <p>How can I programmatically shutdown my Java Script based UWP application? If it was C# based one I would use <a href="https://docs.microsoft.com/en-us/uwp/api/windows.ui.xaml.application.exit" rel="nofollow noreferrer">Application.Exit()</a> but the class is not available to JavaScript applications. Is there a replacement for JavaScript?</p>