wishthis/node_modules/es5-ext/test/math/imul/shim.js

10 lines
185 B
JavaScript
Raw Normal View History

2022-01-21 08:28:41 +00:00
"use strict";
module.exports = function (t, a) {
a(t(), 0, "No arguments");
a(t(0, 0), 0, "Zeros");
a(t(2, 4), 8, "#1");
a(t(-1, 8), -8, "#2");
a(t(0xfffffffe, 5), -10, "#3");
};