Skip to content

Instantly share code, notes, and snippets.

@dejanmarkovic
Created December 16, 2013 17:46
Show Gist options
  • Save dejanmarkovic/7991153 to your computer and use it in GitHub Desktop.
Save dejanmarkovic/7991153 to your computer and use it in GitHub Desktop.
Find the vaule of of a row in 2 dimensional array by Index value
function ValueOfRowByIndex(id, arr) {
//console.log("ValueOfRowByIndex");
//console.log("id :" + id);
//console.log("arr :" + arr);
//console.log("arr[id][0] :" + arr[id][0]);
//console.log("arr[id][1] :" + arr[id][1]);
return arr[id][0];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment