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