Es5模块化 js 之间调用
01.js 定义属性方法
// 1.定义js
// 定义成员:
const sum = function(a,b){
return parseInt(a) + parseInt(b)
}
const subtract = function(a,b){
return parseInt(a) - parseInt(b)
}
const multiply = function(a,b){
return parseInt(a) * parseInt(b)
}
const divide = .
原创
2020-05-16 10:07:07 ·
1821 阅读 ·
0 评论