Skip to content

Instantly share code, notes, and snippets.

Last active Oct 7, 2015
What would you like to do?
Javascript Concat()
// A recreation of the native JS string method
// Accepts as many string arguments as you can feed it, returns concatenated string
// K.R. Hale
var concat = function() {
var result = "";
for(var i = 0; i < arguments.length; i++) {
result += arguments[i];
return result;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment