Skip to main content
Up or down tonavigateEnter toselectEscape toclose⌘⇧KAI

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.

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