Sunday 13 March 2016

EJS - For/While loos vs. forEach(function(){

What is the difference betweenforEach(function(user){ // code }); andvar i = 0; while (i < users.length) { // code i++; } Is the forEach more efficient than the standard for/while loops?

Submitted March 13, 2016 at 07:07PM by programming_owl

No comments:

Post a Comment