Skip to content

Commit 9e61c41

Browse files
committed
Fixed Decimal.js detection in SuperDebug
1 parent 3067766 commit 9e61c41

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/lib/client/SuperDebug.svelte

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,7 @@
232232
if (
233233
typeof this === 'object' &&
234234
typeof this[key] == 'object' &&
235+
this[key] &&
235236
'toExponential' in this[key]
236237
) {
237238
return '#}DE#' + this[key].toString();

0 commit comments

Comments
 (0)