can't step into for each loop in Firefox Debugger
I'm trying to do an $.each on a json object, but when debugging in Firefox it's just steps over this code, like something goes wrong.
Code:
- var query = { name: "test" };
- $.each(query, function (k, v) {
- if (i === 1) {
- tmp = "?";
- }
- else {
- tmp += "&";
- }
- tmp += k + "=" + v;
- i++;
- });
Am I using $.each wrong?