본문 바로가기
프로그래밍

2023-06-27 javascript

by AandBB 2023. 6. 28.
Falsy value Truthy value
false, null, undefined, NaN, 0, '' [], {} ...
  && ||
if left is truthy right left
if left is falsy left right

 

'프로그래밍' 카테고리의 다른 글

JadenCase 문자열 만들기_Python  (0) 2024.10.13
2023-07-02 javascript  (0) 2023.07.02
2023-06-19 html, css  (0) 2023.06.19
2023-06-18 html, css  (0) 2023.06.19
2023-06-17 html  (0) 2023.06.17