Created
March 27, 2012 02:30
-
-
Save ishiduca/2211941 to your computer and use it in GitHub Desktop.
join(joint)(arguments);
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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