I was inspecting some code through Firebug's debugger. The value I found is wrapped in this.executions. So when I print the value of temp
var temp = this.executions;
console.log(temp);
I am getting output as
[Object { context="1461223497558", value1="TEST1", value2="TEST2"}]
I tried using a for...in loop
for(var key in temp) {
var value = temp[key];
}
Though then I am still getting output like
Object { context="1461223497558", value1="TEST1", value2="TEST2"}
I want to extract the values TEST1 and TEST2 of the variables value1 and value2 key. Any idea how to get them?
var temp = this.executions[0];