You are viewing a single comment's thread from:

RE: Refactoring For Reusability: Day Seven of "The Complete Node.js Developer Course"

in #javascript7 years ago

Exactly. By default, every uninitialized object in Javascript equals to undefined. If you want to learn a bit more about this behaviour, you should check this link that talks about Truthy and Falsy elements: some objects that don't contain true or false values, but behave the same way.


I've learned a couple of new things with your posts @matthewdavid, your explanations are very simple and accurate. Keep up the good work.