bramblex / jsjs

简易的 JavaScript 元循环解释器

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

iamzhouyi opened this issue · comments

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

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

应该就是写错了……