(obj, name)
| 1897 | } |
| 1898 | |
| 1899 | function getPropValue(obj, name) { |
| 1900 | return Array.isArray(obj) ? |
| 1901 | obj.map(function(it) { return getPropValue(it, name); }) : |
| 1902 | obj[name]; |
| 1903 | } |
| 1904 | |
| 1905 | function getIds(list) { |
| 1906 | return getPropValue(list, 'id'); |
no outgoing calls
no test coverage detected
searching dependent graphs…