Files
Testing/html5-chat1/nodeMulti/node_modules/pm2-axon-rpc/example.js
sean 0e8a8b3028
Some checks failed
deploy-testing / deploy (push) Has been cancelled
Initial testing snapshot
2026-11-17 16:15:01 -05: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());
};