(experimental) made new a unary operator

This commit is contained in:
satyr
2010-09-25 17:39:19 +09:00
parent 9a3b736174
commit c24e1eacb9
10 changed files with 32 additions and 42 deletions

View File

@@ -156,5 +156,6 @@ ok c is 3
# Instanceof.
ok new String instanceof String
ok new Number not instanceof String
# FIXME: These parentheses are workaround of #
ok (new String) instanceof String
ok (new Number) not instanceof String