fixing instanceof, with a quick test

This commit is contained in:
Jeremy Ashkenas
2010-01-27 07:55:40 -05:00
parent ca0a65ab95
commit 2f3a94678f
2 changed files with 2 additions and 1 deletions

View File

@@ -4,6 +4,7 @@ y.x: -> 3
print x is 1
print typeof(y.x) is 'function'
print y.x instanceof Function
print y.x() is 3
print y.x.name is 'x'