nodejs를 배우면서 내가 까먹거나 모르는 개념, 아주 기초적인 거라도 정리하자 ! const profile = { name:"쥬쥬", age:25, school:"쥬라기대학교", age:27 } console.log(profile.age) → 콘솔에 27 출력 (밑에있는 age가 위의 age를 덮어 씀) class ProductController { productService; constructor(private readonly productService){ this.productService = productService; } buyProduct(req,res){ this.productService.qqq(); }; } public, private, protected, readonly 중 1개라도 ..