Skip to content
This repository has been archived by the owner on May 10, 2024. It is now read-only.

Commit

Permalink
Fix #8392: Ensure toString returns expected value on Object
Browse files Browse the repository at this point in the history
  • Loading branch information
kylehickinson committed Nov 10, 2023
1 parent 235ce88 commit e8d1531
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ if (!window.__firefox__) {
if ($Object.isExtensible(value)) {
const description = (typeof value === 'function') ?
`function ${ typeof value.name !== 'undefined' ? value.name : "" }() {\n [native code]\n}` :
'[object Object]';
'function toString() {\n [native code]\n}';

const toString = function() {
return description;
Expand Down

0 comments on commit e8d1531

Please sign in to comment.