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
showAll
Expected behavior: it should be correct when assign string to arr Actual behavior: incorrect answer...
arr
function showAll(arr: ?): void { for (const val of arr) { console.log(val); } }
The text was updated successfully, but these errors were encountered:
Thank you! The cause was that target was set to es3 through compiler options. Fixed by setting it to esnext.
es3
esnext
Sorry, something went wrong.
9b9f975
No branches or pull requests
Expected behavior: it should be correct when assign string to
arr
Actual behavior: incorrect answer...
The text was updated successfully, but these errors were encountered: