Skip to content

Instantly share code, notes, and snippets.

@ishiduca
Created March 27, 2012 02:30
Show Gist options
  • Save ishiduca/2211941 to your computer and use it in GitHub Desktop.
Save ishiduca/2211941 to your computer and use it in GitHub Desktop.
join(joint)(arguments);
function join (joint) {
joint = joint || '';
return function () {
return Array.prototype.join.apply(arguments, [ joint ]);
};
}
join('\n')('<!doctype html>'
, '<head>'
, '<meta charset="utf-8" />'
, '<title>join us</title>'
, '</head>'
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment