1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-04 17:18:23 -05:00
denoland-deno/cli/tests/045_proxy_client.ts

8 lines
236 B
TypeScript
Raw Normal View History

2019-09-24 18:52:01 -04:00
// 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();