Skip to content

笔记 #26

@itboos

Description

@itboos

一些知识的笔记

书: 你不知道的js

   JavaScript       :
    null、undefined、boolean、number、string、object  symbol,
    其中, object 称为引用数据类型, 其它称为简单数据类型

    检测null: 
    由于 typeof null = "object"
    所以使用:
     typeof null === "object" && !null   返回true, 所以可以用这种方式来检查 null

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions