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)

All
Other
enhancement

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.
Summary: Error in the description → Error in the description of "hoisting" in the Glossary
Priority: P5 → P3
someone can say something?
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:
Do you agree that it is wrong?
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
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.