Sign in
webkit
/
WebKit
/
98c995bc48b46e12cd73dbe994c0d66e35daac07
/
.
/
JSTests
/
es6
/
Object_static_methods_accept_primitives_Object.keys.js
blob: 86811933529f8cd7924e05b8d17b048f242dbed5 [
file
] [
log
] [
blame
]
function
test
()
{
var
s
=
Object
.
keys
(
'a'
);
return
s
.
length
===
1
&&
s
[
0
]
===
'0'
;
}
if
(!
test
())
throw
new
Error
(
"Test failed"
);