Skip to content

Instantly share code, notes, and snippets.

@arunkumar413
Created August 5, 2017 07:25
Show Gist options
  • Save arunkumar413/3d4b41d22e1241f752e611b6070f6020 to your computer and use it in GitHub Desktop.
Save arunkumar413/3d4b41d22e1241f752e611b6070f6020 to your computer and use it in GitHub Desktop.
var c="";
for (i=0; i<len; i++) {
c = c + (if(condition) {
b[i].x + "," + b[i].y;
}
else if (condition){
b[i].x;
}
else if(condition){
b[i].y;
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment