Skip to content

Instantly share code, notes, and snippets.

@deepal
Created February 19, 2020 23:14
const sum = (a, b, callback) => {
callback(a + b);
};
sum(1,2, (result) => {
console.log(result);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment