Improve "info" meta of replacer with deleted property test

This commit is contained in:
Alexey Shvayka 2020-03-04 02:48:50 +02:00 committed by Rick Waldron
parent dc21d6b0a4
commit d2b5f63a15

View File

@ -5,10 +5,17 @@ esid: sec-serializejsonproperty
description: >
Replacer function is called on properties, deleted during stringification.
info: |
JSON.stringify ( value [ , replacer [ , space ] ] )
SerializeJSONObject ( value )
[...]
12. Return ? SerializeJSONProperty(the empty String, wrapper).
5. If PropertyList is not undefined, then
[...]
6. Else,
a. Let K be ? EnumerableOwnPropertyNames(value, key).
[...]
8. For each element P of K, do
a. Let strP be ? SerializeJSONProperty(P, value).
[...]
SerializeJSONProperty ( key, holder )