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