문법 ( 정리중 )

정리중

if문의 블럭

if문이 한줄로 끝나더라도 블럭으로 감싸주자

const isBook = data.type === "book"

if (!isBook) {
  return;
}

Last updated