display custom toString() in value explorer

This commit is contained in:
Dmitry Vasilev
2022-10-18 21:45:55 +08:00
parent 52f7c4a4b3
commit 1bea819b1a

View File

@@ -69,6 +69,8 @@ export const header = object => {
.map(stringify_for_header)
.join(', ')
+ ']'
} else if(object.toString != Object.prototype.toString) {
return object.toString()
} else {
const inner = displayed_entries(object)
.map(([k,v]) => {