We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
const a = 1;a = 2;在run()的时候不会报错,原因: AssignmentExpressionOperatortraverseMap内部 "=": (value, v) => value instanceof MemberValue ? (value.obj[value.prop] = v) : (value.value = v), 应该写成:(value.set(v)),
const a = 1;a = 2;
run()
AssignmentExpressionOperatortraverseMap
"=": (value, v) => value instanceof MemberValue ? (value.obj[value.prop] = v) : (value.value = v),
:(value.set(v)),
The text was updated successfully, but these errors were encountered:
No branches or pull requests
const a = 1;a = 2;
在run()
的时候不会报错,原因:AssignmentExpressionOperatortraverseMap
内部"=": (value, v) => value instanceof MemberValue ? (value.obj[value.prop] = v) : (value.value = v),
应该写成
:(value.set(v)),
The text was updated successfully, but these errors were encountered: