Jump to content

Define Function Without Declaration


Ajmal

Recommended Posts

That doesn't make sense - define and declare mean the same thing as far as I know.
no, they are different.declaring attaches a name to a variable, defining creates a variable.you can declare without defining, var b;you can also define without declaring: ;"valid statement";anon functions are a perfect example of undeclared variables; you see them a lot.
Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...