Implementing an identical JSON.stringify

Darien Valentine valentinium at gmail.com
Sun Aug 5 02:31:28 UTC 2018


Oh, thanks Claude, I missed that. I guess it is all replicable then.

On Sat, Aug 4, 2018 at 10:28 PM Claude Pache <claude.pache at gmail.com> wrote:

>
>
> > Le 5 août 2018 à 04:14, Darien Valentine <valentinium at gmail.com> a
> écrit :
> >
> >
> > However it is ultimately not possible to replicate because there is no
> possible brand test for [[BooleanData]].
>
> Per spec, checking whether `Boolean.prototype.valueOf.call(obj)` throws
> will test whether an object has [[BooleanData]] internal slot.
>
> —Claude
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20180804/53a8b695/attachment-0001.html>


More information about the es-discuss mailing list