diff --git "a/\345\220\264\345\220\257\346\230\2141/2.14\344\275\234\344\270\232/\347\273\223\346\236\234.js" "b/\345\220\264\345\220\257\346\230\2141/2.14\344\275\234\344\270\232/\347\273\223\346\236\234.js" new file mode 100644 index 0000000000000000000000000000000000000000..1f2a4ed3acece9df592bd03a7adb9229134592c6 --- /dev/null +++ "b/\345\220\264\345\220\257\346\230\2141/2.14\344\275\234\344\270\232/\347\273\223\346\236\234.js" @@ -0,0 +1,5 @@ +let opp=require("./计算器"); +console.log(opp.add(12,32)); +console.log(opp.jian(58,32)); +console.log(opp.cheng(12,3)); +console.log(opp.chu(112,2)); \ No newline at end of file diff --git "a/\345\220\264\345\220\257\346\230\2141/2.14\344\275\234\344\270\232/\350\256\241\347\256\227\345\231\250.js" "b/\345\220\264\345\220\257\346\230\2141/2.14\344\275\234\344\270\232/\350\256\241\347\256\227\345\231\250.js" new file mode 100644 index 0000000000000000000000000000000000000000..5293f6c57a53f8785ba78c7da869295d84dd43b0 --- /dev/null +++ "b/\345\220\264\345\220\257\346\230\2141/2.14\344\275\234\344\270\232/\350\256\241\347\256\227\345\231\250.js" @@ -0,0 +1,16 @@ + +let wof ={ + 'add':function(a,b){ + return a+b; + }, + 'jian':function(a,b){ + return a-b; + }, + 'cheng':function(a,b){ + return a*b; + }, + 'chu':function(a,b){ + return a/b; + }, +} +module.exports=wof; \ No newline at end of file