본문 바로가기
Node.js

12/14~15

by 케이리케리 2023. 12. 18.

빈 객체 확인 방법(How to Check if an Object is Empty in JavaScript )

 

How to Check if an Object is Empty in JavaScript – JS Java isEmpty Equivalent

An object is one of the most commonly used data types in programming. An object is a collection of related data stored as key-value pairs. For example: let userDetails = { name: "John Doe", username: "jonnydoe", age: 14, } When working with objects, you

www.freecodecamp.org

 

 

app.route(path)

 

라우팅?

Request(요청)이 날라왔을 때, 원하는 경로에 따라 적절한 방향으로 경로를 안내해주는 것

 

URL, method에 따라 => 호출 콜백 함수가 다 다르다.