(obj)
| 2288 | } |
| 2289 | |
| 2290 | function toDebugString(obj) { |
| 2291 | if (typeof obj === 'function') { |
| 2292 | return obj.toString().replace(/ \{[\s\S]*$/, ''); |
| 2293 | } else if (isUndefined(obj)) { |
| 2294 | return 'undefined'; |
| 2295 | } else if (typeof obj !== 'string') { |
| 2296 | return serializeObject(obj); |
| 2297 | } |
| 2298 | return obj; |
| 2299 | } |
| 2300 | |
| 2301 | /* global angularModule: true, |
| 2302 | version: true, |
no test coverage detected