In the following code I want to access key, value dynamically in the for loop. How can I do it?
s= {5: "456", 6: "123"}
var count = Object.keys(s).length
for (var j_cnt=0;j_cnt<count;j_cnt++)
{
}
Note: I do not want a normal for loop since i need to something with the count