postgres123 revised this gist . Go to revision
1 file changed, 1 insertion, 1 deletion
add.js
@@ -1,3 +1,3 @@ | |||
1 | 1 | function add (a, b) { | |
2 | - | return a + b | |
2 | + | return Numer(a) + Number(b) | |
3 | 3 | } |
postgres123 revised this gist . Go to revision
1 file changed, 0 insertions, 0 deletions
gistfile1.txt renamed to add.js
File renamed without changes
postgres123 revised this gist . Go to revision
1 file changed, 3 insertions
gistfile1.txt(file created)
@@ -0,0 +1,3 @@ | |||
1 | + | function add (a, b) { | |
2 | + | return a + b | |
3 | + | } |