Skip to content

Instantly share code, notes, and snippets.

@garywu125
Last active May 3, 2020 13:12
Show Gist options
  • Select an option

  • Save garywu125/a4b6c8db420a8e825006fba277205957 to your computer and use it in GitHub Desktop.

Select an option

Save garywu125/a4b6c8db420a8e825006fba277205957 to your computer and use it in GitHub Desktop.

Revisions

  1. garywu125 revised this gist May 3, 2020. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions gist-hello.ts
    Original file line number Diff line number Diff line change
    @@ -1,7 +1,7 @@
    import { bgBlue, red, bold } from "https://deno.land/std/fmt/mod.ts";

    const sayHello = (name: string = "world") => {
    const sayMyHello = (name: string = "my world") => {
    console.log(bgBlue(red(bold(`Hello ${name}!`))));
    }
    sayHello();
    sayHello("Conlin");
    sayHello("myConlin");
  2. garywu125 renamed this gist May 2, 2020. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  3. garywu125 created this gist May 2, 2020.
    7 changes: 7 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    import { bgBlue, red, bold } from "https://deno.land/std/fmt/mod.ts";

    const sayHello = (name: string = "world") => {
    console.log(bgBlue(red(bold(`Hello ${name}!`))));
    }
    sayHello();
    sayHello("Conlin");