Updated at: Mar 28, 2022
This guide will step you through the process of enabling Javascript in Microsoft's Edge browser.
In the search field in the top right of the settings page that has now appeared, type "Javascript"

This will hide all other settings and only show you settings relating to Javascript.
Because you searched for "Javascript", Edge will now highlight the settings which relate to JavaScript. Click into the JavaScript section which will be highlighted by yellow.

You can now change your JavaScript settings to what you want.

The main Javascript enabled/disabled setting is controlled by the slider control at the top - slight it to the right (it turns dark blue) to enable Javascript running on all websites you visit. Slide it to the left (it turns grey) to disable Javascript on all websites you visit.
This "all or nothing" setting for Javascript may not be fine-grained enough for your liking, as such, Edge lets you mark websites to specifically allow or disable Javascript on. You may decide to disable Javascript on all websites, but then only allow it for specific websites that you trust (or vice-versa).
Use the Add buttons for the Block and Allow sections to control exactly what websites will run Javascript for you.
Once you've chosen your desired JavaScript setting, the setting takes effect immediately. You can simply close the Advanced Settings menu and resume browsing.

Congratulations, you just configured JavaScript in Edge. Click to check if JavaScript is enabled.
You may also want to take a moment to clear your cookies and history in Edge.
The old version of Edge (now known as "Edge Legacy") didn't have any controls to enable or disable Javascript. If you're trying to change your Javascript settings in Edge and you don't see an interface that looks like what's shown in the steps above then you're probably running an out of date version of Edge. You should follow the guide to update from Edge Legacy to the new Edge.
What is JavaScript and what does it do?
Turn on/activate JavaScript.
What happens if you don't have JavaScript?
How do web developers use JavaScript?
What are some of the concerns with JavaScript and security?
Does my browser already have JavaScript or do I have to install it?
Does JavaScript go out of date?
What is the percentage of websites that use JavaScript?
What are the reasons someone would disable JavaScript in their browser?
What restrictions are there that keep me safe?
You can choose to disable JavaScript
Are they the same thing?