I am reading an implementation of Array.prototype.some
on developer.mozilla.org
It contains this intruiging piece of code:
var t = Object(this);
var len = t.length >>> 0;
for (var i = 0; i < len; i++) {
Why is it calling len = t.length >>> 0
instead of len = t.length
?
What difference does >>> 0
make?