# wtfjs - 재미나고 이상한 JS예제 모음

> Clean Markdown view of GeekNews topic #3158. Use the original source for factual precision when an external source URL is present.

## Metadata

- GeekNews HTML: [https://news.hada.io/topic?id=3158](https://news.hada.io/topic?id=3158)
- GeekNews Markdown: [https://news.hada.io/topic/3158.md](https://news.hada.io/topic/3158.md)
- Type: news
- Author: [xguru](https://news.hada.io/@xguru)
- Published: 2020-11-07T09:20:33+09:00
- Updated: 2020-11-07T09:20:33+09:00
- Original source: [github.com](https://github.com/denysdovhan/wtfjs)
- Points: 10
- Comments: 0

## Topic Body

JavaScript 언어 특성에 기초한 설명까지 같이 봐야 이해가 되는 것들 55개

[] == ![]; 참

true == []; 거짓

true == ![]; 거짓

false == []; 참

false == ![]; 참

!!"false" == !!"true"; 참

!!"false" === !!"true"; 참

"b" + "a" + +"a" + "a"; // -> 'baNaNa'

NaN === NaN; 거짓

!![] 참

[] == true 거짓

!!null; 거짓

null == false; 거짓

## Comments



_No public comments on this page._
