Skip to content

Instantly share code, notes, and snippets.

@edinsoncs
Created November 12, 2015 05:45
Show Gist options
  • Save edinsoncs/70e26030898144f48b66 to your computer and use it in GitHub Desktop.
Save edinsoncs/70e26030898144f48b66 to your computer and use it in GitHub Desktop.
Concat
/*Concat*/
function contact(string,number,simbol) {
var union = string.concat(number).concat(simbol);
function concatAll(text, numero, simbolo) {
var r = text + numero + simbolo;
console.log("Concatenar javascript . and + " + "Result");
setTimeout(function(){
console.log(r);
}, 1500);
}
concatAll('concat', 2, '(Y)');
return union;
}
contact('hello mi name is edinson ', 20, " :)");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment