(obj)
| 148 | return data; |
| 149 | } |
| 150 | function getObjKeys(obj) { |
| 151 | var keys = new Array(); |
| 152 | for (var i in obj) { |
| 153 | if (obj.hasOwnProperty(i)) { |
| 154 | keys.push(i); |
| 155 | } |
| 156 | } |
| 157 | return keys; |
| 158 | } |
| 159 | function getOwnObjProps(object) { |
| 160 | return object ? Object.getOwnPropertyNames(object) : []; |
| 161 | } |
no outgoing calls
no test coverage detected