🦖 Hello Deno
Say "hello world" with Deno
Course Resources
Create a New Project
command line
deno init my-app
Hello World
main.ts
function helloWorld() {
console.log('Main?', import.meta.main)
return "Hi Mom!"
}
if (import.meta.main) {
console.log(helloWorld());
}