0

Found this line in Array.protoype.find polyfill on MDN

var len = o.length >>> 0;

what is the purpose of this line? it seems that it return same value as length.

The comment say:

// 2. Let len be ? ToLength(? Get(O, "length")).

what it mean? Is to convert lenght to a number using coercion?

jcubic
  • 61,973
  • 54
  • 229
  • 402

0 Answers0