jsjs
jsjs copied to clipboard
const scope 看起来有个地方写错了
最近在学习作者的代码,发现22行这块是不是写错了呢? if (this.value === 'const') {} should be if (this.kind === 'const') {}
https://github.com/bramblex/jsjs/blob/ab7133f7435acdf16a86473cbd36ab68d6195fba/src/scope.ts#L22
应该就是写错了……