Skip to content

Instantly share code, notes, and snippets.

@luokailuo
Created April 8, 2016 03:14
Show Gist options
  • Save luokailuo/25786c8145ffa804bff60402f56a7c44 to your computer and use it in GitHub Desktop.
Save luokailuo/25786c8145ffa804bff60402f56a7c44 to your computer and use it in GitHub Desktop.
Javascript数组遍历注意事项
for(var i=0, i_len = arr.length; i<i_len; i++){
// do something
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment