+
Skip to content

function just-diff is buggy when dealing with empty objects with no prototype #570

Open
@tiny-ant

Description

@tiny-ant

the String constructor will throws:

var obj = Object.create(null);
String(obj)

consider using Object.prototype.toString will fix this.

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

      点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载