mirror of
https://github.com/denoland/deno.git
synced 2024-12-04 17:18:23 -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();
|