angus-c / angus-c/just

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

Open
#570 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
6.2k
Forks
209
PR merge metrics
No merged PRs in 30d

Description

the `String` constructor will throws:

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

consider using `Object.prototype.toString` will fix this.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.