goldsexygirl
New Member
I have written function which sets its \[code\]arrvar\[/code\] variable to the received arguments.Then I have added some methods to that function:
- \[code\]setArray\[/code\]: adds the arguments to the end of the \[code\]arrvar\[/code\]
- \[code\]showArray\[/code\]: outputs the array \[code\]arrvar\[/code\]
- \[code\]showArrayType\[/code\]: outputs the type of array \[code\]arrvar\[/code\] (which is always object)
- \[code\]showLength\[/code\]: outputs the length of the array \[code\]arrvar\[/code\]