Skip to content

勘误:章节 8.6.1,页码 207 #1

@yanhaijing

Description

@yanhaijing

勘误范围:第一版印刷

第八章, 207页,这里的 ||,要改为 &&

image

这里手滑写错了,下面求证下,假设我们有一个对象 aa

var aa = {b: 1}

使用 || 和 && 取值效果如下,可以看到 && 才是对的

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions