Skip to content

Instantly share code, notes, and snippets.

@geni429
Last active January 24, 2019 08:38
Show Gist options
  • Save geni429/28360b5b601c6e6836b80aa30c0465df to your computer and use it in GitHub Desktop.
Save geni429/28360b5b601c6e6836b80aa30c0465df to your computer and use it in GitHub Desktop.

Revisions

  1. geni429 revised this gist Jan 24, 2019. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions sum.js
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,5 @@
    const sum = function sumInteger(num1, num2) {
    const sumResult = num1 + num2;
    const sumIntegerResult = num1 + num2;

    return sumResult;
    return sumIntegerResult;
    }
  2. geni429 created this gist Jan 24, 2019.
    5 changes: 5 additions & 0 deletions sum.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@
    const sum = function sumInteger(num1, num2) {
    const sumResult = num1 + num2;

    return sumResult;
    }