Skip to main content
Stack Overflow
  1. About
  2. For Teams

Timeline for Array "includes" returns false, but item exists

Current License: CC BY-SA 4.0

7 events
when toggle format what by license comment
Mar 6, 2025 at 12:32 comment added mplungjan We are missing the "this is trivial" and it is likely a dupe too
Mar 6, 2025 at 12:26 vote accept Владислав Светайло
Mar 6, 2025 at 12:23 comment added Alexander Nenashev @mplungjan it's definitely not a typo, but a bug
Mar 6, 2025 at 12:23 comment added Alexander Nenashev @mplungjan i didnt read the comment, was answering and there's no rule that prohibits posting an answer that already covered in the comments, actually i encounter that's even encouraged 🤷‍♂️
Mar 6, 2025 at 12:16 comment added Владислав Светайло Thank you, Alexander, the code weekends_test.includes(Number(day_of_week_curr)) also solved an issue, My reputation is low, so I cannot mark your answer as useful, but anyway, thank you.
Mar 6, 2025 at 12:16 history edited Alexander Nenashev CC BY-SA 4.0
added 4 characters in body
Mar 6, 2025 at 12:08 history answered Alexander Nenashev CC BY-SA 4.0

AltStyle によって変換されたページ (->オリジナル) /