(optionValues)
| 31139 | } |
| 31140 | |
| 31141 | function getOptionValuesKeys(optionValues) { |
| 31142 | var optionValuesKeys; |
| 31143 | |
| 31144 | if (!keyName && isArrayLike(optionValues)) { |
| 31145 | optionValuesKeys = optionValues; |
| 31146 | } else { |
| 31147 | // if object, extract keys, in enumeration order, unsorted |
| 31148 | optionValuesKeys = []; |
| 31149 | for (var itemKey in optionValues) { |
| 31150 | if (optionValues.hasOwnProperty(itemKey) && itemKey.charAt(0) !== '$') { |
| 31151 | optionValuesKeys.push(itemKey); |
| 31152 | } |
| 31153 | } |
| 31154 | } |
| 31155 | return optionValuesKeys; |
| 31156 | } |
| 31157 | |
| 31158 | return { |
| 31159 | trackBy: trackBy, |
no test coverage detected