Last active
March 15, 2016 15:07
-
-
Save brendandawes/1287124 to your computer and use it in GitHub Desktop.
Learn to code with Kelis' Milkshake Part 1
This file contains 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
/* | |
Learn to code with Kelis' Milkshake | |
http://en.wikipedia.org/wiki/Milkshake_(song) | |
Created by Brendan Dawes brendandawes.com | |
*/ | |
// "my milkshake brings all the boys to the yard" | |
var milkShake; | |
var boysToTheYard = 0; | |
if (milkShake) { | |
boysToTheYard++; | |
} | |
Author
brendandawes
commented
Oct 14, 2011
via email
will that's just silly - it's pseudo code anyway!
On 14 October 2011 14:55, Samuel Cotterall ***@***.*** wrote:
Problem at line 1 character 5: 'milkShake' was used before it was defined.
Problem at line 3 character 3: 'boysToTheYard' was used before it was defined.
Problem at line 3 character 16: Unexpected '++'.
Sorry Bren.
##
Reply to this email directly or view it on GitHub:
https://gist.github.com/1287124
##
Brendan Dawes
Creative Director
magneticNorth (mN)
101 princess street, manchester, m1 6dd
t +44 (0)161 228 7171
m +44 (0)7877 118 393
www.mNatwork.com
Inbox protected by ClearMyMail www.ClearMyMail.com
{81b70cf32c9249c8b06ca8619ae58f27}
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment