blob: 1c0ec0687f57bf4a5c8afea841b4c838bf8a2bad (
plain)
1
2
3
4
5
6
7
8
9
|
function args(args: string[]) {
const map = {};
for (let i = 0; i < args.length; i++) {
map[i] = args[i];
}
Deno.stdout.write(new TextEncoder().encode(JSON.stringify(map)));
}
args(Deno.args);
|