JScript Objects are Fun



Why are JScript Objects Fun? It's just intristrically fun to think of objects talking to each other through interfaces and the reuse of this type of programming is exciting to implement. It's like putting a puzzle together. Now on with the story. ....
Lets  get down to business. Here's a definition of an object called FirstObj.
// JScript object definition follows
function FirstObj() {

	// private data {Hey dude, this is a comment line!}
	
	// public data

	// private methods

	// public methods

}
The following is an instantiation of the object shown above.
// JScript object instantiation follows
var firstObject = new FirstObj();
Of course, this new instantiation doesn't do anything, but now you know the skeleton of any object that you wish to create. That's all for now.

Email me at:


[email protected]


FC Navigation Console