mirror of
https://github.com/leporello-js/leporello-js
synced 2026-01-13 13:04:30 -08:00
display custom toString() in value explorer
This commit is contained in:
@@ -69,6 +69,8 @@ export const header = object => {
|
|||||||
.map(stringify_for_header)
|
.map(stringify_for_header)
|
||||||
.join(', ')
|
.join(', ')
|
||||||
+ ']'
|
+ ']'
|
||||||
|
} else if(object.toString != Object.prototype.toString) {
|
||||||
|
return object.toString()
|
||||||
} else {
|
} else {
|
||||||
const inner = displayed_entries(object)
|
const inner = displayed_entries(object)
|
||||||
.map(([k,v]) => {
|
.map(([k,v]) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user