(ctx, value, recurseTimes, key, typedArray)
| 2536 | } |
| 2537 | |
| 2538 | function formatExtraProperties(ctx, value, recurseTimes, key, typedArray) { |
| 2539 | ctx.indentationLvl += 2; |
| 2540 | const str = formatValue(ctx, value[key], recurseTimes, typedArray); |
| 2541 | ctx.indentationLvl -= 2; |
| 2542 | |
| 2543 | // These entries are mainly getters. Should they be formatted like getters? |
| 2544 | const name = ctx.stylize(`[${key}]`, 'string'); |
| 2545 | return `${name}: ${str}`; |
| 2546 | } |
| 2547 | |
| 2548 | function formatProperty(ctx, value, recurseTimes, key, type, desc, |
| 2549 | original = value) { |
no test coverage detected
searching dependent graphs…