vscode-firefox-debug icon indicating copy to clipboard operation
vscode-firefox-debug copied to clipboard

Removing properties with value 0 or false on map

Open vikcch opened this issue 5 years ago • 0 comments

Version: 2.9.2

Example:

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

vikcch avatar Feb 25 '21 19:02 vikcch