Last active
August 29, 2015 14:07
-
-
Save bignimbus/6eb8b32ce74304ae43a0 to your computer and use it in GitHub Desktop.
Turns a normal array of words into German industrial metal lyrics.
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
Array.prototype.rammstein = function () { | |
var phrase = '', rammsteined = []; | |
this.forEach( function ( word ) { | |
phrase += word.toUpperCase() + ' '; | |
rammsteined.push( phrase ); | |
}); | |
return rammsteined; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Alerts: