Skip to content

Commit 48eb4ab

Browse files
Updated Syntax Error
Signed-off-by: Moulik Aggarwal <moulik@deepsource.io>
1 parent 3bb4828 commit 48eb4ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
function isEven(x){
2-
if(x % 2 = 0) console.log(`${x} is even`)
2+
if(x % 2 == 0) console.log(`${x} is even`)
33
else console.log(`${x} is odd`)
44
}
55

0 commit comments

Comments
 (0)