How to Run JavaScript on Edge from Scratch

Need to run JavaScript on Edge?

If so, you may follow the steps below to run your JavaScript.

Steps to Run JavaScript on Edge from Scratch

Step 1: Open Edge

To start, open the Edge web browser.

Step 2: Launch the Developer Tools

You can launch the Developer Tools by pressing F12 on your Keyboard.

Step 3: Run the JavaScript on Edge

Finally, navigate to the “Console” tab, where you can run your JavaScript.

For example, you can type/copy the following code to display a simple “Hello World!” alert:

alert("Hello World!")

Once you are done typing/copying the code, press ENTER on your keyboard.

You’ll then see the following alert on your screen:

Hello World!

You may also want to check the following guide that explains the full steps to run JavaScript on Chrome.