Weijuer Posted on Nov 17, 2022 # Day 4 | How to resolve it? #welcome The problem How can I ensure the condition returns true and print 1. var a = ?; if(a == 1 && a == 2 && a == 3){ console.log(1); // 1 } Enter fullscreen mode Exit fullscreen mode Top comments (1) Subscribe Personal Trusted User Create template Templates let you quickly answer FAQs or store snippets for re-use. Submit Preview Dismiss Collapse Expand J3ffJessie J3ffJessie J3ffJessie Follow ServiceNow Developer | Torc Ambassador | Moderator at Dev.to Email jeffjessie@outlook.com Location Clarksville Pronouns He/Him Work Software Engineer at Accenture || ServiceNow Developer || Ambassador @Torc Joined Jan 16, 2019 • Nov 17 '22 Dropdown menu Copy link Hide Please use the #help tag for help with coding problems. Code of Conduct • Report abuse Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink. Hide child comments as well Confirm For further actions, you may consider blocking this person and/or reporting abuse
Top comments (1)
Please use the #help tag for help with coding problems.