Closed generic-github-user closed 5 years ago
forEach loops have caused some bugs and issues with the JavaScript Caesium library code. They should be removed . . .
array.forEach( (element) => { element.doSomething(); } );
. . . and replaced with for loops:
for (var i = 0; i < array.length; i++) { array[i].doSomething(); }
This will help to improve code compactness and consistency.
forEach loops have caused some bugs and issues with the JavaScript Caesium library code. They should be removed . . .
. . . and replaced with for loops:
This will help to improve code compactness and consistency.