Deno Online Compiler

Note: You only have `-allow-net` flag.

Loading editor...

function handler(_req: Request): Response {
  return new Response("Hello, World!");
}

Deno.serve(handler);
  

Output

    
 // Output will be displayed here