Starting with Edge version 96, an option is available to disable the V8 JavaScript engine’s JIT compiler. This will impact performance with sites that use a large amount of JavaScript but it should improve overall security, as a large number of past security issues are related to the JIT.
https://microsoftedge.github.io/edgevr/posts/Super-Duper-Secure-Mode/
https://www.reviewgeek.com/104171/microsoft-edge-gets-a-super-duper-secure-mode-heres-how-to-enable-it/