to-uint32.js 198 B

12345678
  1. 'use strict';
  2. module.exports = function (t, a) {
  3. a(t({}), 0, "Not numeric");
  4. a(t(-4), 4294967292, "Negative");
  5. a(t(133432), 133432, "Positive");
  6. a(t(8589934592), 0, "Greater than maximum");
  7. };