Fix #2533138.

Wrapped inner resCombos `for` loop with resCombos.hasOwnProperty(j) { ... }

@davglass