shldhee / note

개인노트
0 stars 0 forks source link

빠른 if문 사용 #9

Open shldhee opened 2 years ago

shldhee commented 2 years ago
let condition = true;
// Long way
if (condition) {
    someFunction();
}
// Short way
condition && someFunction();