My goal is to have a two-dimensional array in the main routine whose data is passed to a function that uses the data, but leaves the original array in the main routine untouched.
Below is a little bit of fictitious code that duplicates the problem.
Your help would be appreciated.
<p id="demo">Click the button to test code.</p>
<button onclick="myFunction()">Try it</button>
var aryFirstArray = new Array(1)
aryFirstArray = new Array()
aryFirstArray = "I am expecting the 2nd dimension to still be 5: "
aryFirstArray = 5
aryDifferentArray = 4