(obj)
| 2295 | } |
| 2296 | |
| 2297 | function toDebugString(obj) { |
| 2298 | if (typeof obj === 'function') { |
| 2299 | return obj.toString().replace(/ \{[\s\S]*$/, ''); |
| 2300 | } else if (isUndefined(obj)) { |
| 2301 | return 'undefined'; |
| 2302 | } else if (typeof obj !== 'string') { |
| 2303 | return serializeObject(obj); |
| 2304 | } |
| 2305 | return obj; |
| 2306 | } |
| 2307 | |
| 2308 | /* global angularModule: true, |
| 2309 | version: true, |
no test coverage detected