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 |
29 | 30 |
Tags
- node.js
- Props
- Redux
- bitcoin
- built in object
- JavaScript
- solidity
- REACT
- HTML
- web
- graphQL
- API
- SSR
- useState
- CSS
- middleware
- typeScript
- express.js
- tailwindcss
- error
- Interface
- blockchain
- CLASS
- concept
- Ethereum
- evm
- nextJS
- hardhat
- 기준
- 삶
Archives
- Today
- Total
목록True (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