2010-01-26 15:52:05 +00:00
|
|
|
identity_wrap: (x) ->
|
|
|
|
-> x
|
2009-12-25 15:16:59 +00:00
|
|
|
|
|
|
|
result: identity_wrap(identity_wrap(true))()()
|
|
|
|
|
2010-01-25 04:40:45 +00:00
|
|
|
print result
|
2010-01-09 17:12:38 +00:00
|
|
|
|
|
|
|
|
|
|
|
str: 'god'
|
|
|
|
|
|
|
|
result: str.
|
|
|
|
split('').
|
|
|
|
reverse().
|
|
|
|
reverse().
|
|
|
|
reverse()
|
|
|
|
|
2010-01-25 04:40:45 +00:00
|
|
|
print result.join('') is 'dog'
|
2010-01-09 17:12:38 +00:00
|
|
|
|
|
|
|
result: str
|
|
|
|
.split('')
|
|
|
|
.reverse()
|
|
|
|
.reverse()
|
|
|
|
.reverse()
|
|
|
|
|
2010-01-25 04:40:45 +00:00
|
|
|
print result.join('') is 'dog'
|