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
  • 56,835
  • 46
  • 206
  • 357

0 Answers0