(obj)
| 2446 | } |
| 2447 | |
| 2448 | function toDebugString(obj) { |
| 2449 | if (typeof obj === 'function') { |
| 2450 | return obj.toString().replace(/ \{[\s\S]*$/, ''); |
| 2451 | } else if (isUndefined(obj)) { |
| 2452 | return 'undefined'; |
| 2453 | } else if (typeof obj !== 'string') { |
| 2454 | return serializeObject(obj); |
| 2455 | } |
| 2456 | return obj; |
| 2457 | } |
| 2458 | |
| 2459 | /* global angularModule: true, |
| 2460 | version: true, |
no test coverage detected