Possible Duplicate:
How can I get the memory address of a JavaScript variable?
Is there a way, in javascript, to print the reference of an array?
What I want to do is to check if two arrays have the same reference, and it can be done like this post suggests: How to check if two vars have the same reference?
But is it possible to print the reference, if for instance I'm working with an array?
Example
var Array1=["hi"];
var Array2=["hello"];
var thesame = Array1==Array2;
the same value is false
.
But can I print he Array1 reference with somethink like window.alert(@Array1);
in javascript?
--UPDATE --
What I exactly want is the actual address space being referenced.