deps/v8/src/js/runtime.js
function ToPositiveInteger(x, rangeErrorIndex) {
  var i = TO_INTEGER(x) + 0;
  if (i < 0) throw MakeRangeError(rangeErrorIndex);
  return i;
}
function ToPositiveInteger(x, rangeErrorIndex) {
  var i = TO_INTEGER(x) + 0;
  if (i < 0) throw MakeRangeError(rangeErrorIndex);
  return i;
}
---------------------------------------------------------------------------- /* ---------------------------------
- - -   U t i l i t i e s   - - -
---------------------------------