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