Sign in
webkit
/
WebKit
/
ff4cb3c2323f3937e96e08f4f6fbe6c7755f9da5
/
.
/
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"
);