[text] module

Viewer

  1.  
  2. exports.add = function (x, y) {
  3.         return x + y;
  4. };
  5.  
  6. exports.sub = function (x, y) {
  7.         return x - y;
  8. };
  9.  
  10. exports.mult = function (x, y) {
  11.         return x * y;
  12. };
  13.  
  14. exports.div = function (x, y) {
  15.         return x / y;
  16. };
  17.  

Editor

You can edit this paste and save as new:


File Description
  • module
  • Paste Code
  • 18 Apr-2024
  • 221 Bytes
You can Share it: