function add1(x, y){
return x + y;
}
let add2 = function(x, y){
return x + y;
}
const add3 = (x, y) => {
return x + y;
}
var add4 = (x, y) => x + y
console.log(add1(1,2))
console.log(add2(1,2))
console.log(add3(1,2))
console.log(add4(1,2))'Node' 카테고리의 다른 글
| jwt (0) | 2024.08.03 |
|---|---|
| 간단한 api, get, post, delete, put (0) | 2024.07.29 |
| express generator (0) | 2024.07.28 |
| npm, install, uninstall, let, const, var (0) | 2024.07.27 |
| docker, mariaDB 설치 및 사용 (0) | 2024.07.22 |