(list, index)
| 7756 | } |
| 7757 | |
| 7758 | function extractList(list, index) { |
| 7759 | var result = new Array(list.length), i; |
| 7760 | |
| 7761 | for (i = 0; i < list.length; i++) { |
| 7762 | result[i] = list[i][index]; |
| 7763 | } |
| 7764 | |
| 7765 | return result; |
| 7766 | } |
| 7767 | |
| 7768 | function buildList(first, rest, index) { |
| 7769 | return [first].concat(extractList(rest, index)); |
no outgoing calls
no test coverage detected
searching dependent graphs…