Beginner
clideployweb
Hello World
The one and only line in this program will print "Hello, World!" to the console.
!--frsh-copybutton:1-->
console.log("Hello, World!");
Deno programs can either be written in JavaScript or TypeScript, or a mixture of both. All code in these examples is written in TypeScript, but all the examples also work in JavaScript.
Run this example locally using the Deno CLI:
deno run https://byexample-wwv03xf36j0g.deno.dev/hello-world.ts
Additional resources: