4 ms·
This only works for non-sentinels. I.e. if "-1" happens to be the value indicating NoScore, I don't think the TS compiler can catch that?
by groby_b 4y ago
This only works for non-sentinels. I.e. if "-1" happens to be the value indicating NoScore, I don't think the TS compiler can catch that?
- nailer 4y agoNobody is discussing using a magic number for null, nor is that an accepted practice in TS.