Skip to content

Instantly share code, notes, and snippets.

@didil
Created July 16, 2018 11:22
Show Gist options
  • Save didil/3c1960b6453ba591f47a59c4a093e441 to your computer and use it in GitHub Desktop.
Save didil/3c1960b6453ba591f47a59c4a093e441 to your computer and use it in GitHub Desktop.
function concat(a, b) {
return new Promise((resolve, reject) => {
setImmediate(() => resolve(`${a} ${b}`));
});
}
module.exports = {
concat
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment