Silas2
asked on
JScipt Constuctor
I don't understand javascipt constructors!
I want an object with nested functions which takes a param in its creation, and that param is avail within the functions, e.g.
I want an object with nested functions which takes a param in its creation, and that param is avail within the functions, e.g.
function ImLIBObject(colorToUse) {
this.colorToUse = colorToUse;
function ImNestedProc(e, oRow) {
I want colorToUse here!!, i can't seem to get it, its undefined!!!
}
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.