Stack Exchange Network
Stack Exchange network consists of 181 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Visit Stack Exchange
CS50 Stack Exchange is a question and answer site for students of Harvard University's CS50. It only takes a minute to sign up.
Sign up to join this community
Anybody can ask a question
The best answers are voted up and rise to the top
Why doesn't !== work here?
First if statement sets all the red colors to white.
Second one, I was trying to make all other colors more darker so hidden image would become clearer.
I was able to solve this by putting triple.rgbtBlue == 0xff instead of triple.rgbtRed !==0xff but just curious.
asked Aug 9, 2018 at 1:32
6911 silver badge99 bronze badges
The comparison operator is
answered Aug 9, 2018 at 1:37
18.5k22 gold badges1616 silver badges4343 bronze badges
You must log in to answer this question.
Not the answer you're looking for? Browse other questions tagged