mirror of
https://github.com/denoland/deno.git
synced 2024-12-29 10:39:10 -05:00
7 lines
236 B
TypeScript
7 lines
236 B
TypeScript
// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
|
|
async function main(): Promise<void> {
|
|
const res = await fetch("http://deno.land/welcome.ts");
|
|
console.log(`Response http: ${await res.text()}`);
|
|
}
|
|
|
|
main();
|