We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 79776b9 commit b297302Copy full SHA for b297302
app-deno.js
@@ -1,5 +1,5 @@
1
export const add_deno = (a, b) => {
2
- if (isNaN(Number(a)) || isNaN(Number(b))) {
+ if (isNaN(a) || isNaN(b)) {
3
throw new Error('Les paramètres doivent être des nombres');
4
}
5
return a + b;
0 commit comments