-
Type: Bug Report
-
Status: Closed
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 4.3.9
-
Fix Version/s: 5.0.0
-
Component/s: Optimization
-
Labels:None
-
External issue URL:
-
External issue ID:125
-
Copy Issue Key:
-
Patch Instructions:
Currently in some places arrays are accessed as objects in cycles:
var arr = ['one', 'two'];
for (var elem in arr)
This approach works until someone adds new methods to Array class declaration. I propose to change such approach to normal "for" cycle:
var arr = ['one', 'two'];
for (var elem = 0; i < arr.length; elem++) { alert( arr[elem] ); }
- child of
-
MINC-12 Save button won't work on Add Product Options
- Closed