Skip to content
Browse files

define currentYear dynamically

  • Loading branch information...
1 parent 05ea894 commit 6c2e2bc3f0b801560149be5fa367cc6cc30f87e3 @nicknovitski nicknovitski committed Nov 7, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 koans/AboutObjects.coffee
View
2 koans/AboutObjects.coffee
@@ -25,7 +25,7 @@ describe 'About Objects', ->
it "should confirm that when a function is attached to an object, 'this' refers to the object", ->
- currentYear = 2011 # Update me!
+ currentYear = (new Date).getFullYear()
meglomaniac =
mastermind: 'James Wood'
henchman: 'Adam West'

0 comments on commit 6c2e2bc

Please sign in to comment.
Something went wrong with that request. Please try again.