Skip to content
New issue

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

还是有一些bug #7

Open
jqsuserwudi opened this issue May 9, 2019 · 3 comments
Open

还是有一些bug #7

jqsuserwudi opened this issue May 9, 2019 · 3 comments
Assignees

Comments

@jqsuserwudi
Copy link

比如逻辑操作符的短路求值策略;模块内的代码需要顺序执行,可能提前返回;UpdateExpression的变量类型不一定是Identifier;表达式优先要计算右值等等。运行大部分代码应该都可以了

@jqsuserwudi
Copy link
Author

standard.js和value.js这两个舍弃的话,效率会更高

@jrainlau
Copy link
Owner

求PR

@jqsuserwudi
Copy link
Author

我用的时候,上来就把这standard.js和value.js两个文件砍掉了,所以新出现了很多的bug。
standard.js和value.js这个舍弃,顶多不支持const
function等的变量初值可以使用null代替undefined,全局变量都保存在window下。

原项目可以解析cocoscreator生成的代码子包试试,越大越好。

列一些可能的bug:比如
a[b[c]]
for(let i=0;i<3;i+=b);
a[b+c];
'SequenceExpression'

@jrainlau jrainlau self-assigned this Sep 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants