anvaka / anvaka/set-vs-object

Subtle bug

Open
#1 2 comments 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
67
Forks
5
PR merge metrics
No merged PRs in 30d

Description

> This program has a subtle bug. Open issue if you found it and I'll give you credit.

Since object keys are strings, anything that's not a string will be stringified, which will make the following true:

```
1 === '1'
{} === {}
[] === []
//...
```

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue does not name a file, test, or entry point. Start by inspecting the repository's program and reproducing the object-key behavior described in the issue; done means identifying the specific bug, documenting the expected behavior, and adding a focused fix or test if the repository supports one.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
tooling
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.