swc/bundler/tests/deno-exec/deno-9350/full/input/entry.ts
강동윤 bfde9a1f6e
fix(bundler): Fix bugs (#1373)
swc_bundler:
- Handle export default-ed functions correctly.
2021-02-01 12:31:03 +09:00

14 lines
336 B
TypeScript

import { parse } from "https://deno.land/std@0.85.0/flags/mod.ts";
import { getNumericInput, printQuestion } from "./helpers/mod";
import printStats from "./print_stats.ts";
const args = parse(Deno.args);
console.log(args.stats);
printStats();
printQuestion("How many times have you played");
console.log(await getNumericInput());