You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yes it should change, Also we can improve it more because still you're using string concatenation.
try this ->
var myhtml = [];
$.each(reallyLongArray, function (count, item) {
myhtml.push('<li>',item,'</li>'); // now better
});
$('#ballers').html(myhtml.join(''));
Activity
oshanz commentedon May 5, 2014
Yes it should change, Also we can improve it more because still you're using string concatenation.
try this ->
reference ->
https://developers.google.com/speed/articles/optimizing-javascript