#836 - use for-in for iterating over objects and for(;;;) for arrays in qq.each