Skip to main content

Hello world

The one and only line in this program will print "Hello, World!" to the console. Run this file with the Deno CLI and the run command.

Edit on Github
Log "Hello, World!" to the console.
console.log("Hello, World!");

Run this example locally using the Deno CLI:

deno run https://docs.deno.com/examples/scripts/hello_world.ts

Did you find what you needed?

Privacy policy