I have this 2D array and I’m trying to filter it, but it’s coming out unfiltered: Data: Filtering line: Expected result: WTHeck am I missing? Thank you! Answer Not smart enough to use those Array.map/filter function, but I guess this is what you want?
Tag: boolean-expression
Variable reassignment with chained booleans or ternary operator [closed]
Closed. This question needs debugging details. It is not currently accepting answers. Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question. Closed 2 years ago. Improve this question To clarify: This is purely for experimental purposes, to learn the quirks, odds