250x250
Notice
Recent Posts
Recent Comments
Link
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | 5 | 6 | 7 |
| 8 | 9 | 10 | 11 | 12 | 13 | 14 |
| 15 | 16 | 17 | 18 | 19 | 20 | 21 |
| 22 | 23 | 24 | 25 | 26 | 27 | 28 |
Tags
- nextJS
- middleware
- useState
- SSR
- Ethereum
- bitcoin
- REACT
- CSS
- Redux
- 기준
- Interface
- tailwindcss
- evm
- hardhat
- blockchain
- web
- 삶
- express.js
- CLASS
- node.js
- JavaScript
- API
- error
- graphQL
- built in object
- solidity
- typeScript
- Props
- concept
- HTML
Archives
- Today
- Total
목록false (1)
ReasonJun
Javascript : Variable (3) (truthy, falsy, object)
truthy / falsy if (0) { console.log('true'); } if ('0') { console.log('true'); // true } // false // 1) false // 2) 0 // 3) null // 4) undefined // 5) NaN // 6) '' // 7) 0n const fruits = ['apple', 'banana']; if (fruits) { console.log('item here'); // item here } const fruits1 = []; if (fruits1.length) { console.log('item here'); // } object // Object literal { key: value } // new Object() // Ob..
Frontend/Javasciprt
2023. 6. 7. 00:57