mirror of
https://github.com/denoland/deno.git
synced 2024-11-22 15:06:54 -05:00
8 lines
236 B
TypeScript
8 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();
|