Skip to content

Commit f29d56e

Browse files
committed
Fix JS template formatting
1 parent 508015d commit f29d56e

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

templates/javascript/src/index.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
function add(a, b) {
2-
// TODO: Implement add function
3-
return 0
1+
function add (a, b) {
2+
// TODO: Implement add function
3+
return 0
44
}
5-
const test = "asd"
5+
66
if (require.main === module) {
7-
console.log(`2 + 3 = ${add(2, 3)}`)
7+
console.log(`2 + 3 = ${add(2, 3)}`)
88
}
99

1010
module.exports = {
11-
add
12-
}
11+
add
12+
}

0 commit comments

Comments
 (0)