Skip to content

const scope 看起来有个地方写错了 #9

@iamzhouyi

Description

@iamzhouyi

最近在学习作者的代码,发现22行这块是不是写错了呢?
if (this.value === 'const') {}
should be
if (this.kind === 'const') {}

if (this.value === 'const') {

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