Deno – Hallo Welt Beispiel

Erstelle eine hallo.ts Datei im Projekt-Hauptverzeichnis mit folgendem Inhalt:

				
					console.log("Hallo Welt!");
				
			

Mit dem deno run hallo.ts wird das Hallo Welt Programm im Terminal gestartet:

				
					deno run hallo.ts
Check file:///workspace/denotester/hello.ts
Hallo Welt!