Sign in
webkit
/
WebKit
/
961dc37032b13d1a9d74ca738cc4946af6754457
/
.
/
Source
/
JavaScriptCore
/
tests
/
es6
/
class_anonymous_class.js
blob: 761b5c6b9e32a822bb3cfddf03e16aa79aa7c7d8 [
file
] [
log
] [
blame
]
ggaren@apple.com
961dc37
2015-09-04 02:39:20 +0000
[
diff
] [
blame^
]
1
function
test
()
{
2
3
return
typeof
class
{}
===
"function"
;
4
5
}
6
7
if
(!
test
())
8
throw
new
Error
(
"Test failed"
);
9