xuxiaobo-bobo e6520392ec '...'
2024-03-18 11:14:05 +08:00

16 lines
261 B
JavaScript

exports.add = function(a, b, fn){
fn(null, a + b);
};
exports.sub = function(a, b, fn){
fn(null, a - b);
};
exports.uppercase = function(str, fn){
fn(null, str.toUpperCase());
};
exports.lowercase = function(str, fn){
fn(null, str.toLowerCase());
};