You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's a good idea to use strict equality comparison (with the === operator) unless there’s a good reason not to.
The big difference between non strict and strict is that non strict comparison checks that two values are the same, whereas strict comparison also checks that the type of data (e.g. string, integer, boolean) is the same
if (item.id == idToMark) (line 60, logic.js)
You could change this to strict comparison to make this if statement more robust :)
The text was updated successfully, but these errors were encountered:
It's a good idea to use strict equality comparison (with the
===
operator) unless there’s a good reason not to.The big difference between non strict and strict is that non strict comparison checks that two values are the same, whereas strict comparison also checks that the type of data (e.g. string, integer, boolean) is the same
if (item.id == idToMark)
(line 60, logic.js)You could change this to strict comparison to make this if statement more robust :)
The text was updated successfully, but these errors were encountered: