mirror of
https://github.com/leporello-js/leporello-js
synced 2026-01-13 21:14:28 -08:00
fix
This commit is contained in:
@@ -12,7 +12,7 @@ import {with_code_execution} from '../index.js'
|
|||||||
// come both from app_window and current window (where they are created in
|
// come both from app_window and current window (where they are created in
|
||||||
// metacircular interpreter
|
// metacircular interpreter
|
||||||
const has_custom_toString = object =>
|
const has_custom_toString = object =>
|
||||||
object.toString != null
|
typeof(object.toString) == 'function'
|
||||||
&& object.toString != globalThis.app_window.Object.prototype.toString
|
&& object.toString != globalThis.app_window.Object.prototype.toString
|
||||||
&& object.toString != Object.prototype.toString
|
&& object.toString != Object.prototype.toString
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user