Skip to content

Instantly share code, notes, and snippets.

@salgo
Created August 13, 2013 16:03
Show Gist options
  • Save salgo/6222711 to your computer and use it in GitHub Desktop.
Save salgo/6222711 to your computer and use it in GitHub Desktop.
if (l == 0) {
txt += 'none';
} else {
for (; i < l; i++) {
txt += (i > 0 ? ', ' : '') + list[i].name;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment