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