Sha256: 7c59c3583e981292da20005186f20a91f5d7c30cebec4eccbbce6f239eb017c3

Contents?: true

Size: 213 Bytes

Versions: 7

Compression:

Stored size: 213 Bytes

Contents

var toInteger = require('../internals/to-integer');

module.exports = function (it, BYTES) {
  var offset = toInteger(it);
  if (offset < 0 || offset % BYTES) throw RangeError('Wrong offset');
  return offset;
};

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
jester-data-8.0.0 node_modules/core-js/internals/to-offset.js
ezii-os-5.2.1 node_modules/core-js/internals/to-offset.js
ezii-os-2.0.1 node_modules/core-js/internals/to-offset.js
ezii-os-1.1.0 node_modules/core-js/internals/to-offset.js
ezii-os-1.0.0 node_modules/core-js/internals/to-offset.js
ezii-os-0.0.0.1.0 node_modules/core-js/internals/to-offset.js
ezii-os-0.0.0.0.1 node_modules/core-js/internals/to-offset.js