Skip to content

Commit 4ad4d12

Browse files
unused variable
1 parent b6aa774 commit 4ad4d12

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

CWE-563/main.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
const main = (x) => {
1+
const main = (x, y) => {
22
const result = x
3+
const value = y
4+
console.log(y)
35
return 2 * x
46
}

0 commit comments

Comments
 (0)