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

Removing properties with value 0 or false on map

Aperta
#246 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
TypeScript
Stelle
447
Fork
76
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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)

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
javascript, typescript, vscode
Ambito
developer-experience, devtools
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.