I have an object parameter and it has a property value. it is thusly defined
var parameter = {
value : function() {
//do stuff
}
};
my problem is that, in some cases, value needs to have a property of its own named length
can i do that? it seems that putting this.length = foo does not work, neither does parameter.value.length = foo after the object declaration.
value()needs to have a length?value's length and iterate over it as though it were an array.