Skip to content

Commit b297302

Browse files
authored
Update app-deno.js
1 parent 79776b9 commit b297302

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app-deno.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
export const add_deno = (a, b) => {
2-
if (isNaN(Number(a)) || isNaN(Number(b))) {
2+
if (isNaN(a) || isNaN(b)) {
33
throw new Error('Les paramètres doivent être des nombres');
44
}
55
return a + b;

0 commit comments

Comments
 (0)