Skip to content

Not working for primitives? #82

@martijnthe

Description

@martijnthe

The doc says:

The Object can be a regular Object, an Array, a Function, a RegExp, or any of the primitive types or constructor function created with new.

The "or any of the primitive types" part suggests that plain string, number, boolean, etc. should also work, but this doesn't seem to be the case to me. Can you clarify?

cc @jiangzidong

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