shim.js 161 B

1234567
  1. "use strict";
  2. module.exports = function (value) {
  3. // eslint-disable-next-line no-bitwise
  4. value >>>= 0;
  5. return value ? 32 - value.toString(2).length : 32;
  6. };