-1

In javaScript typeof null is an object is considered a bug. It should be null. What is the reason why this is not fixed in the latest version of javascript?

Pindakaas
  • 4,389
  • 16
  • 48
  • 83
  • Please provide more context and (preferably) references. – PM 77-1 May 07 '15 at 05:50
  • Marking duplicate doesn't take you to the intended answer, which is ref. zan: http://stackoverflow.com/a/7968470/1693593 –  May 07 '15 at 06:05
  • What duplicate? I was not asking between the difference of null and undefined. Try to read the question. – Pindakaas May 07 '15 at 12:11

1 Answers1

0

Null is not an object, its a primitive value.

Reference: link see Axel Rauschmayer answer

Community
  • 1
  • 1
Afsar
  • 3,104
  • 2
  • 25
  • 35