Thanks to visit codestin.com
Credit goes to github.com

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

In case of polyfill, source should be available only for primitives #7

@zloirock

Description

@zloirock
JSON.parse('{}', (k, v, { source }) => console.log(source)); // => '{}', should be `undefined`

https://tc39.es/proposal-json-parse-with-source/#sec-internalizejsonproperty
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions