From 1992c6e9b06a3543ccffc402aad054ec71140a1c Mon Sep 17 00:00:00 2001 From: Vladimir Nechaev Date: Wed, 5 Apr 2023 14:44:11 +0000 Subject: [PATCH] Serialization also calls inherited toJSON (#1730) --- index.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index a26a833c..9da93acf 100644 --- a/index.html +++ b/index.html @@ -6581,8 +6581,8 @@

Executing Script

  • Return success with data reference. -

    has an own property named "toJSON" that is - a Function +
    has an own property or inherited property named + "toJSON" that is a Function
    Return success with the value returned by Function.[[\Call]](toJSON) with value as the this value. @@ -10979,6 +10979,7 @@

    Index

  • FunctionCreate
  • Get
  • Global environment +
  • Inherited property
  • IsCallable
  • Own property
  • Promise