That looks cool
That looks cool
I don’t think karma gets aggregate. You just up and downvote posts and comments and that’s it. It doesn’t reflect back on the submitter.
Those points are even more meaningless here. Nothing to gain, but experiences and discussion. Hopefully.
If you have the need to nest 5 levels of for-loops, I suggest taking a step back and rethinking your approach, my friend.
Even if that other approach is just refactoring it into separate methods.
Not a JavaScript dev here, but I work with it. Doesn’t “==” do type coercion, though? Isn’t that why “===” exists?
As far as I know the operators “>=” and “<=” are implemented as the negation of “<” and “>” respectively. Why: because when you are working with sticky ordered sets, like natural numbers, those operators work.
Thus “0<=0” -> “!(0>0)” -> “!(false)” -> “true”
Correct me if my thinking is wrong though.
Despite that, I have and will donate to Wikipedia and the Wikimedia foundation, because they host knowledge and quite a lot of pictures. And I love it.