Closed
Bug 1446824
Opened 8 years ago
Closed 8 years ago
Error in the description of "hoisting" in the Glossary
Categories
(Developer Documentation Graveyard :: General, enhancement, P3)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: isaacaaron79, Assigned: cmills)
References
()
Details
:: Developer Documentation Request
Request Type: Correction
Gecko Version: unspecified
Technical Contact:
:: Details
This results in Confusion. I think that this part of the summary is not right, since a variable can be used without being initialized, only that it will have undefined value:
Hoisting works well with other data types and variables as well. The variables can be initialized and used before declared. But they cannot be used without initialization.
Updated•8 years ago
|
Summary: Error in the description → Error in the description of "hoisting" in the Glossary
| Assignee | ||
Updated•8 years ago
|
Priority: P5 → P3
| Reporter | ||
Comment 1•8 years ago
|
||
someone can say something?
| Reporter | ||
Comment 2•8 years ago
|
||
Obviously it should be corrected since I think documentation is not good here.
What mozilla says:
Hoisting works well with other data types and variables as well. The variables can be initialized and used before declared. But they cannot be used without initialization.
This results in Confusion. I think that this part of the summary is not right, since a variable can be used without being initialized, only that it will have undefined value:
| Reporter | ||
Comment 3•8 years ago
|
||
Do you agree that it is wrong?
| Assignee | ||
Comment 4•8 years ago
|
||
I agree that this is confusing. I've tried rewriting the page so that it makes more sense. What do you think now?
Assignee: nobody → cmills
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
| Reporter | ||
Comment 5•8 years ago
|
||
Hello Chris Mills, I've been watching your modification and yes, it's better. I have modified the Spanish version too. I have made it more extensive and better explained.
You need to log in
before you can comment on or make changes to this bug.
Description
•