JS 노트 (대문자만 출력하기)

주재일·2021년 5월 15일
const word = "";

if(word === word.toUpperCase()){
  console.log("YES");
}else{
  console.log("No");
}

별거 아니긴 한데 그냥 재밌어서 기록해봄..ㅎㅎ

profile
늦게 시작했으니 저는 늦둥이인가요?

0개의 댓글