-
Notifications
You must be signed in to change notification settings - Fork 3.9k
IIFE example (let --> var) #2098
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
Comments
+1! Also, I think IIFE's heading level should be H2 rather than H3. |
You mean some place in the tutorial? Put a link here? |
This is in "The old var" chapter - https://javascript.info/var#iife. I have made some changes to this and added it in my PR #2081. |
Can fix it there, right. @MuhammedZakir you fix that in #2081? |
Are we on the same page? |
Yes! 69e7f6f#diff-a28a5a6e5f04ce8e5867757c61407e99L219
You can! |
Fix #2098 - replace let with var in IIFE example
Isn't it more appropriate to use "var" instead of "let" in IIFE examples to make a point?
The text was updated successfully, but these errors were encountered: