Skip to content

Commit

Permalink
typeof null 썸네일 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
witch-factory committed Dec 24, 2023
1 parent 43bb1f4 commit 0f42160
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions posts/javascript-why-typeof-null-is-object/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ tags: ["javascript"]

# 선 요약

![typeof의 결과표](./typeof-result.png)

- `null`은 원래 객체의 의미를 내재하고 있는 값으로 만들어졌다.
- 또한 초기의 `typeof` 구현에서 `null` 검사 로직이 따로 없었다.
- 그래서 `typeof null``"object"`로 굳어졌고 이후 고치려는 시도가 있었지만 실패했다.
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

1 comment on commit 0f42160

@vercel
Copy link

@vercel vercel bot commented on 0f42160 Dec 24, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.