Skip to content

Commit 9d494e8

Browse files
[ADD] add function
1 parent ccc40b8 commit 9d494e8

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

ECMAScript/A06-Function/define.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
function add(a, b){
2+
console.log("a+b: "+(a+b));
3+
return a+b;
4+
}
5+
add(1, 2);

0 commit comments

Comments
 (0)