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
return [...iter].length
Minifying this in babili 0.1.4:
function foo() { return [...iter].length; }
incorrectly outputs this:
function foo() { return 1; }
Babili can't tell at compile-time how many elements the iterator will return, so it's incorrect to assume it's always 1.
The text was updated successfully, but these errors were encountered:
/cc @j-f1
Sorry, something went wrong.
Fix folding Array literals (close #608) (close #609)
3bbeb9f
ca943e7
64bb89f
No branches or pull requests
Minifying this in babili 0.1.4:
incorrectly outputs this:
Babili can't tell at compile-time how many elements the iterator will return, so it's incorrect to assume it's always 1.
The text was updated successfully, but these errors were encountered: