MCPcopy Index your code
hub / github.com/jquery-form/form / arrayValue

Function arrayValue

test/test.js:17–24  ·  view source on GitHub ↗
(arr, key)

Source from the content-addressed store, hash-verified

15
16// helper method
17var arrayValue = function(arr, key) {
18 for (var i = 0; i < arr.length; i++) {
19 if (arr[i].name === key) {
20 return arr[i].value;
21 }
22 }
23 return undefined;
24};
25
26
27var assert = chai.assert;

Callers 1

test.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected