Hi!
Is there a way to return a new version of an array/hash that does not contain all the methods/functions that prototype extends the array object with?
Example:
var myArray = $A();
myArray['test'] = '1';
myArray['test2'] = '2';
var myVariableToPassToAjax = myArray;
If I debug myVariableToPassToAjax it looks like this:
Array
(
[test] => 1
[test2] => 2
[each] => function each(iterator, context) {
..........
..........
}
...and all the other extended array functions
);
Is there a way to solve this? :-/
Morten