How can I capture the value of an object at the current state of the line of code and use that value later instead of the reference?
How can I keep the value of myRows as 1 so I can use it for comparison??
var myRows= this.grid.getSelectedRows(); // 1
var newRows= myRows;
//run some logic to add 8 to newRows
alert(myRows) // 9
alert(newRows) //9