firefox-devtools / firefox-devtools/vscode-firefox-debug

Removing properties with value 0 or false on map

Open
#246 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
447
Forks
76
PR merge metrics
No merged PRs in 30d

Description

Version: 2.9.2

Example:
```javascript
const r = [1, 0, 3].map(v => ({
x: 0,
y: v
}));
// expected: [ { x: 0, y: 1 }, { x: 0, y: 0 }, { x: 0, y: 3 } ]
// result: [ { y: 1 }, {}, { y: 3 } ]
```
![firefox-vscode-debbuger-bug](https://user-images.githubusercontent.com/50946670/109208141-df9d4c80-77a1-11eb-926d-a6cce47ef619.png)

Contributor guide

Open the contributing guide

Research direction

No source file, test, or entry point is named. Start by reproducing the JavaScript snippet in the Firefox debugger and compare the inspected object properties with the expected result; done means values of 0 and false remain visible instead of being removed.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, typescript, vscode
Domain
developer-experience, devtools
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.