Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
17
var
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
27
var
assert = chai.assert;
Callers
1
test.js
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected