Why does the value of typeof null change inside a loop?

前端 未结 4 1031
一向
一向 2020-11-29 20:50

Executing this snippet in the Chrome console:

4条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-11-29 21:32

    There is a chromium bug open for this:

    Issue 604033 - JIT compiler not preserving method behavior

    So yes It's just a bug!

提交回复
热议问题