Files
Testing/html5-chat/nodeMulti/node_modules/pm2-axon-rpc/example.js
sean 343b4a3f3f
Some checks failed
deploy-testing / deploy (push) Has been cancelled
Initial testing snapshot
2026-11-19 18:32:17 -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());
};