Possible Duplicate:
javascript >>> operator?
JavaScript triple greater than
Found this operator in such line of code:
var t = Object(this),
len = t.length >>> 0;
What does this operator mean?
Full code is below. It is the code of JS some
method:
if (!Array.prototype.some) {
Array.prototype.some = function(fun /*, thisp */) {
"use strict";
if (this == null) throw new TypeError();
var t = Object(this),
len = t.length >>> 0;
if (typeof fun != "function") throw new TypeError();
var thisp = arguments[1];
for (var i = 0; i < len; i++) {
if (i in t && fun.call(thisp, t[i], i, t))
return true;
}
return false;
};
}