1

enter image description here enter image description here

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. Thank you!

3

The comparison operator is != not !==.

2
  • Oh okay got it! thanks – sksch1663 Aug 9 '18 at 21:06
  • @sksch1663 :) could you please accept my answer so this question will be marked as resolved? thanks. – curiouskiwi Aug 9 '18 at 21:38

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .