At least in my version of Windows 10 (10.0.14393), the Group Policy Setting Allows you to run scripts, like Javascript mentioned by DavidPostill and Botmaster is not available.. I think I remember the setting being there, but I can't find it anymore (I'm not 100% sure it was there "once upon a time", it might have been removed by an Update?).
If you want to enable or disable JavaScript, you now have to go to the registry, there's two possible locations for this setting:
HKLM\SOFTWARE\Policies\Microsoft\MicrosoftEdge\Internet Settings\Zones\3
and
HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Group Policy
Objects\{xxxxx}Machine\Software\Policies\Microsoft\MicrosoftEdge\Internet
Settings\Zones\3
(where xxxxx will be different for everyone).
I'm assuming Zone "3" is the "Internet" zone (as seen in InternetExplorer security settings).
There you will either find or need to create a REG_DWORD (32-bit) with the name 1400
Values I know of:
- 0: JavaScript enabled
- 2: JavaScript disabled
Note: For me, the setting in HKLM had precedence over the setting in HKCU (e.g. changing the setting in HKCU had no effect for me).