Hello world
在 Github 上编辑
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!");
使用 Deno CLI 在本地运行 此示例:
deno run https://docs.denohub.com/examples/scripts/hello_world.ts