Skip to content

Instantly share code, notes, and snippets.

@gabrielgilini
Created December 30, 2009 19:05
Show Gist options
  • Save gabrielgilini/266291 to your computer and use it in GitHub Desktop.
Save gabrielgilini/266291 to your computer and use it in GitHub Desktop.
js> getPositionInMatrix('foo', ['bar',['baz','foo'],'foobar']);
1,1
js> getPositionInMatrix('foo', ['bar',['baz','rs', 'foo'],'foobar']);
1,2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment