(obj)
| 173 | } |
| 174 | |
| 175 | function getObjKeys(obj) { |
| 176 | var keys = new Array(); |
| 177 | |
| 178 | for (var i in obj) { |
| 179 | if (obj.hasOwnProperty(i)) { |
| 180 | keys.push(i); |
| 181 | } |
| 182 | } |
| 183 | |
| 184 | return keys; |
| 185 | } |
| 186 | |
| 187 | function getOwnObjProps(object: Object): string[] { |
| 188 | return object ? Object.getOwnPropertyNames(object) : [] |
no outgoing calls
no test coverage detected