We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 512a9a2 commit 3c9f04dCopy full SHA for 3c9f04d
js/examples/jorendb.js
@@ -62,7 +62,11 @@ function dvToString(v) {
62
if (typeof(v) === 'object' && v !== null) {
63
return `[object ${v.class}]`;
64
}
65
- return uneval(v);
+ const s = uneval(v);
66
+ if (s.length > 400) {
67
+ return s.substr(0, 400) + "...<" + (s.length - 400) + " more bytes>...";
68
+ }
69
+ return s;
70
71
72
function summaryObject(dv) {
0 commit comments