Skip to content

Use JSON.parse when parsing values #1

@xpepermint

Description

@xpepermint

I would suggest to use JSON.parse to parse values.

var a = 'true';
JSON.parse(a) // returns boolean `true`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions