var arr = new Array(5);
document.writeln("Array in the function is ="+ arrayName+"</br>");
document.writeln("Array before calling Pass() method is ="+arr+"</br>");
document.writeln("Array after calling Pass() method is ="+arr+"</br>");
Output of the example is as follows:
We have 1000s of tutorials on our website. Search Tutorials tutorials on our website.
Posted on: November 10, 2008 If you enjoyed this post then why not add us on Google+? Add us to your Circles