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 b3e369b commit b80ead8Copy full SHA for b80ead8
src/index.ts
@@ -1,6 +1,7 @@
1
//return 값의 타입을 지정하지 않으면 자동으로 void로 설정을 해준다.
2
const add = (a: number, b: number) => {
3
- console.log(a, b)
+ const result = a + b;
4
+ console.log(result);
5
}
6
-add(1, 2)
7
+add(1, 2);
0 commit comments