. :
var parameter = {
value : {
length : ''
}
}
var newLength = parameter.value.length = 10;
alert( newLength );
If I understand your question, mainly in the notation of object literals, the object may contain another object, etc. Thus, in order to access the internal object and its properties, you just need to execute a sequence of points, as usual, after the hierarchy. In the above case, “parameter” is the internal object, “value”, then the property of the internal object is “length”.
Shaoz source
share