Sean Bone提出了一个问题：Object vs Class vs Function，或许与您遇到的问题类似。
回答者CommunityAadit M Shah给出了该问题的处理方式：
new keyword. This is known as the constructor pattern.
undefined. On the other hand
null is actually an object reference even though you may believe at first otherwise. This is the reason
typeof null returns