maths.js 208 B

123456789101112131415
  1. "use strict";
  2. exports.maths = {
  3. "native multiply": function() {
  4. return 2 + 2;
  5. },
  6. "native divide": function() {
  7. return 42 / 11;
  8. },
  9. };
  10. if (!module.parent) require("benchmarksman").runner(exports);