TAP version 13
# is.arguments
ok 1 array is not arguments
ok 2 arguments is arguments
ok 3 sliced arguments is not arguments
ok 4 old-style arguments is arguments
# exports a "shim" function
ok 5 keys.shim is a function
# when Object.keys is present
ok 6 Object.keys is not overridden
ok 7 Object.keys is returned
# when Object.keys is not present
ok 8 Object.keys has been deleted
ok 9 Object.keys is overridden
ok 10 shim is returned
# working with actual shim
ok 11 keys shim is not native Object.keys
# works with an object literal
ok 12 returns an array
ok 13 Object has expected keys
# works with an arguments object
ok 14 arguments has length of 3
ok 15 returns keys of arguments
# works with a boxed primitive
ok 16 String object returns proper keys
ok 17 object string returns proper keys
ok 18 String object with extra properties returns proper keys
# works with an array
ok 19 returns an array
ok 20 Array has expected keys
# works with a function
ok 21 does not throw an error
ok 22 returns expected keys
# returns names which are own properties
ok 23 str should be returned
ok 24 obj should be returned
ok 25 arr should be returned
ok 26 bool should be returned
ok 27 num should be returned
ok 28 aNull should be returned
ok 29 undef should be returned
# returns names which are enumerable
ok 30 str is not enumerable
ok 31 obj is not enumerable
ok 32 arr is not enumerable
ok 33 bool is not enumerable
ok 34 num is not enumerable
ok 35 aNull is not enumerable
ok 36 undef is not enumerable
# throws an error for a non-object
ok 37 throws on a non-object
# works with an object instance
ok 38 returns an array
ok 39 Instance has expected keys
# works in iOS 5 mobile Safari
ok 40 has expected keys
# works in environments with the dontEnum bug (IE < 9)
ok 41 has expected keys
# shadowed properties
ok 42 troublesome shadowed properties are keys of object literals
1..42
# tests 42
# pass 42
# ok
TAP version 13
# is.arguments
ok 1 array is not arguments
ok 2 arguments is arguments
ok 3 sliced arguments is not arguments
ok 4 old-style arguments is arguments
# exports a "shim" function
ok 5 keys.shim is a function
# when Object.keys is present
ok 6 Object.keys is not overridden
ok 7 Object.keys is returned
# when Object.keys is not present
ok 8 Object.keys has been deleted
ok 9 Object.keys is overridden
ok 10 shim is returned
# working with actual shim
ok 11 keys shim is not native Object.keys
# works with an object literal
ok 12 returns an array
ok 13 Object has expected keys
# works with an arguments object
ok 14 arguments has length of 3
ok 15 returns keys of arguments
# works with a boxed primitive
ok 16 String object returns proper keys
ok 17 object string returns proper keys
ok 18 String object with extra properties returns proper keys
# works with an array
ok 19 returns an array
ok 20 Array has expected keys
# works with a function
ok 21 does not throw an error
ok 22 returns expected keys
# returns names which are own properties
ok 23 str should be returned
ok 24 obj should be returned
ok 25 arr should be returned
ok 26 bool should be returned
ok 27 num should be returned
ok 28 aNull should be returned
ok 29 undef should be returned
# returns names which are enumerable
ok 30 str is not enumerable
ok 31 obj is not enumerable
ok 32 arr is not enumerable
ok 33 bool is not enumerable
ok 34 num is not enumerable
ok 35 aNull is not enumerable
ok 36 undef is not enumerable
# throws an error for a non-object
ok 37 throws on a non-object
# works with an object instance
ok 38 returns an array
ok 39 Instance has expected keys
# works in iOS 5 mobile Safari
ok 40 has expected keys
# works in environments with the dontEnum bug (IE < 9)
ok 41 has expected keys
# shadowed properties
ok 42 troublesome shadowed properties are keys of object literals
1..42
# tests 42
# pass 42
# ok
TAP version 13
# is.arguments
ok 1 array is not arguments
ok 2 arguments is arguments
ok 3 sliced arguments is not arguments
ok 4 old-style arguments is arguments
# exports a "shim" function
ok 5 keys.shim is a function
# when Object.keys is present
ok 6 Object.keys is not overridden
ok 7 Object.keys is returned
# when Object.keys is not present
ok 8 Object.keys has been deleted
ok 9 Object.keys is overridden
ok 10 shim is returned
# working with actual shim
ok 11 keys shim is not native Object.keys
# works with an object literal
ok 12 returns an array
ok 13 Object has expected keys
# works with an arguments object
ok 14 arguments has length of 3
ok 15 returns keys of arguments
# works with a boxed primitive
ok 16 String object returns proper keys
ok 17 object string returns proper keys
ok 18 String object with extra properties returns proper keys
# works with an array
ok 19 returns an array
ok 20 Array has expected keys
# works with a function
ok 21 does not throw an error
ok 22 returns expected keys
# returns names which are own properties
ok 23 str should be returned
ok 24 obj should be returned
ok 25 arr should be returned
ok 26 bool should be returned
ok 27 num should be returned
ok 28 aNull should be returned
ok 29 undef should be returned
# returns names which are enumerable
ok 30 str is not enumerable
ok 31 obj is not enumerable
ok 32 arr is not enumerable
ok 33 bool is not enumerable
ok 34 num is not enumerable
ok 35 aNull is not enumerable
ok 36 undef is not enumerable
# throws an error for a non-object
ok 37 throws on a non-object
# works with an object instance
ok 38 returns an array
ok 39 Instance has expected keys
# works in iOS 5 mobile Safari
ok 40 has expected keys
# works in environments with the dontEnum bug (IE < 9)
ok 41 has expected keys
# shadowed properties
ok 42 troublesome shadowed properties are keys of object literals
1..42
# tests 42
# pass 42
# ok
TAP version 13
# is.arguments
ok 1 array is not arguments
ok 2 arguments is arguments
ok 3 sliced arguments is not arguments
ok 4 old-style arguments is arguments
# exports a "shim" function
ok 5 keys.shim is a function
# when Object.keys is present
ok 6 Object.keys is not overridden
ok 7 Object.keys is returned
# when Object.keys is not present
not ok 8 Object.keys has been deleted
---
operator: notOk
expected: false
actual: [Function: keys]
...
not ok 9 Object.keys is overridden
---
operator: equal
expected: [Function: keys]
actual: [Function: keys]
...
not ok 10 shim is returned
---
operator: equal
expected: [Function: keys]
actual: [Function: keys]
...
# working with actual shim
ok 11 keys shim is not native Object.keys
# works with an object literal
ok 12 returns an array
ok 13 Object has expected keys
# works with an arguments object
ok 14 arguments has length of 3
ok 15 returns keys of arguments
# works with a boxed primitive
ok 16 String object returns proper keys
ok 17 object string returns proper keys
ok 18 String object with extra properties returns proper keys
# works with an array
ok 19 returns an array
ok 20 Array has expected keys
# works with a function
ok 21 does not throw an error
ok 22 returns expected keys
# returns names which are own properties
ok 23 str should be returned
ok 24 obj should be returned
ok 25 arr should be returned
ok 26 bool should be returned
ok 27 num should be returned
ok 28 aNull should be returned
ok 29 undef should be returned
# returns names which are enumerable
ok 30 str is not enumerable
ok 31 obj is not enumerable
ok 32 arr is not enumerable
ok 33 bool is not enumerable
ok 34 num is not enumerable
ok 35 aNull is not enumerable
ok 36 undef is not enumerable
# throws an error for a non-object
ok 37 throws on a non-object
# works with an object instance
ok 38 returns an array
ok 39 Instance has expected keys
# works in iOS 5 mobile Safari
ok 40 has expected keys
# works in environments with the dontEnum bug (IE < 9)
ok 41 has expected keys
# shadowed properties
ok 42 troublesome shadowed properties are keys of object literals
1..42
# tests 42
# pass 39
# fail 3
TAP version 13
# is.arguments
ok 1 array is not arguments
ok 2 arguments is arguments
ok 3 sliced arguments is not arguments
ok 4 old-style arguments is arguments
# exports a "shim" function
ok 5 keys.shim is a function
# when Object.keys is present
ok 6 Object.keys is not overridden
ok 7 Object.keys is returned
# when Object.keys is not present
not ok 8 Object.keys has been deleted
---
operator: notOk
expected: false
actual: [Function: keys]
...
not ok 9 Object.keys is overridden
---
operator: equal
expected: [Function: keys]
actual: [Function: keys]
...
not ok 10 shim is returned
---
operator: equal
expected: [Function: keys]
actual: [Function: keys]
...
# working with actual shim
ok 11 keys shim is not native Object.keys
# works with an object literal
ok 12 returns an array
ok 13 Object has expected keys
# works with an arguments object
ok 14 arguments has length of 3
ok 15 returns keys of arguments
# works with a boxed primitive
ok 16 String object returns proper keys
ok 17 object string returns proper keys
ok 18 String object with extra properties returns proper keys
# works with an array
ok 19 returns an array
ok 20 Array has expected keys
# works with a function
ok 21 does not throw an error
ok 22 returns expected keys
# returns names which are own properties
ok 23 str should be returned
ok 24 obj should be returned
ok 25 arr should be returned
ok 26 bool should be returned
ok 27 num should be returned
ok 28 aNull should be returned
ok 29 undef should be returned
# returns names which are enumerable
ok 30 str is not enumerable
ok 31 obj is not enumerable
ok 32 arr is not enumerable
ok 33 bool is not enumerable
ok 34 num is not enumerable
ok 35 aNull is not enumerable
ok 36 undef is not enumerable
# throws an error for a non-object
ok 37 throws on a non-object
# works with an object instance
ok 38 returns an array
ok 39 Instance has expected keys
# works in iOS 5 mobile Safari
ok 40 has expected keys
# works in environments with the dontEnum bug (IE < 9)
ok 41 has expected keys
# shadowed properties
ok 42 troublesome shadowed properties are keys of object literals
1..42
# tests 42
# pass 39
# fail 3
TAP version 13
# is.arguments
ok 1 array is not arguments
ok 2 arguments is arguments
ok 3 sliced arguments is not arguments
ok 4 old-style arguments is arguments
# exports a "shim" function
ok 5 keys.shim is a function
# when Object.keys is present
ok 6 Object.keys is not overridden
ok 7 Object.keys is returned
# when Object.keys is not present
ok 8 Object.keys has been deleted
ok 9 Object.keys is overridden
ok 10 shim is returned
# working with actual shim
ok 11 keys shim is not native Object.keys
# works with an object literal
ok 12 returns an array
ok 13 Object has expected keys
# works with an arguments object
ok 14 arguments has length of 3
ok 15 returns keys of arguments
# works with a boxed primitive
ok 16 String object returns proper keys
ok 17 object string returns proper keys
ok 18 String object with extra properties returns proper keys
# works with an array
ok 19 returns an array
ok 20 Array has expected keys
# works with a function
ok 21 does not throw an error
ok 22 returns expected keys
# returns names which are own properties
ok 23 str should be returned
ok 24 obj should be returned
ok 25 arr should be returned
ok 26 bool should be returned
ok 27 num should be returned
ok 28 aNull should be returned
ok 29 undef should be returned
# returns names which are enumerable
ok 30 str is not enumerable
ok 31 obj is not enumerable
ok 32 arr is not enumerable
ok 33 bool is not enumerable
ok 34 num is not enumerable
ok 35 aNull is not enumerable
ok 36 undef is not enumerable
# throws an error for a non-object
ok 37 throws on a non-object
# works with an object instance
ok 38 returns an array
ok 39 Instance has expected keys
# works in iOS 5 mobile Safari
ok 40 has expected keys
# works in environments with the dontEnum bug (IE < 9)
ok 41 has expected keys
# shadowed properties
ok 42 troublesome shadowed properties are keys of object literals
1..42
# tests 42
# pass 42
# ok
TAP version 13
# is.arguments
ok 1 array is not arguments
ok 2 arguments is arguments
ok 3 sliced arguments is not arguments
ok 4 old-style arguments is arguments
# exports a "shim" function
ok 5 keys.shim is a function
# when Object.keys is present
ok 6 Object.keys is not overridden
ok 7 Object.keys is returned
# when Object.keys is not present
ok 8 Object.keys has been deleted
ok 9 Object.keys is overridden
ok 10 shim is returned
# working with actual shim
ok 11 keys shim is not native Object.keys
# works with an object literal
ok 12 returns an array
ok 13 Object has expected keys
# works with an arguments object
ok 14 arguments has length of 3
ok 15 returns keys of arguments
# works with a boxed primitive
ok 16 String object returns proper keys
ok 17 object string returns proper keys
ok 18 String object with extra properties returns proper keys
# works with an array
ok 19 returns an array
ok 20 Array has expected keys
# works with a function
ok 21 does not throw an error
ok 22 returns expected keys
# returns names which are own properties
ok 23 str should be returned
ok 24 obj should be returned
ok 25 arr should be returned
ok 26 bool should be returned
ok 27 num should be returned
ok 28 aNull should be returned
ok 29 undef should be returned
# returns names which are enumerable
ok 30 str is not enumerable
ok 31 obj is not enumerable
ok 32 arr is not enumerable
ok 33 bool is not enumerable
ok 34 num is not enumerable
ok 35 aNull is not enumerable
ok 36 undef is not enumerable
# throws an error for a non-object
ok 37 throws on a non-object
# works with an object instance
ok 38 returns an array
ok 39 Instance has expected keys
# works in iOS 5 mobile Safari
ok 40 has expected keys
# works in environments with the dontEnum bug (IE < 9)
ok 41 has expected keys
# shadowed properties
ok 42 troublesome shadowed properties are keys of object literals
1..42
# tests 42
# pass 42
# ok
TAP version 13
# is.arguments
ok 1 array is not arguments
ok 2 arguments is arguments
ok 3 sliced arguments is not arguments
ok 4 old-style arguments is arguments
# exports a "shim" function
ok 5 keys.shim is a function
# when Object.keys is present
ok 6 Object.keys is not overridden
ok 7 Object.keys is returned
# when Object.keys is not present
ok 8 Object.keys has been deleted
ok 9 Object.keys is overridden
ok 10 shim is returned
# working with actual shim
ok 11 keys shim is not native Object.keys
# works with an object literal
ok 12 returns an array
ok 13 Object has expected keys
# works with an arguments object
ok 14 arguments has length of 3
ok 15 returns keys of arguments
# works with a boxed primitive
ok 16 String object returns proper keys
ok 17 object string returns proper keys
ok 18 String object with extra properties returns proper keys
# works with an array
ok 19 returns an array
ok 20 Array has expected keys
# works with a function
ok 21 does not throw an error
ok 22 returns expected keys
# returns names which are own properties
ok 23 str should be returned
ok 24 obj should be returned
ok 25 arr should be returned
ok 26 bool should be returned
ok 27 num should be returned
ok 28 aNull should be returned
ok 29 undef should be returned
# returns names which are enumerable
ok 30 str is not enumerable
ok 31 obj is not enumerable
ok 32 arr is not enumerable
ok 33 bool is not enumerable
ok 34 num is not enumerable
ok 35 aNull is not enumerable
ok 36 undef is not enumerable
# throws an error for a non-object
ok 37 throws on a non-object
# works with an object instance
ok 38 returns an array
ok 39 Instance has expected keys
# works in iOS 5 mobile Safari
ok 40 has expected keys
# works in environments with the dontEnum bug (IE < 9)
ok 41 has expected keys
# shadowed properties
ok 42 troublesome shadowed properties are keys of object literals
1..42
# tests 42
# pass 42
# ok
TAP version 13
# is.arguments
ok 1 array is not arguments
ok 2 arguments is arguments
ok 3 sliced arguments is not arguments
ok 4 old-style arguments is arguments
# exports a "shim" function
ok 5 keys.shim is a function
# when Object.keys is present
ok 6 Object.keys is not overridden
ok 7 Object.keys is returned
# when Object.keys is not present
ok 8 Object.keys has been deleted
ok 9 Object.keys is overridden
ok 10 shim is returned
# working with actual shim
ok 11 keys shim is not native Object.keys
# works with an object literal
ok 12 returns an array
ok 13 Object has expected keys
# works with an arguments object
ok 14 arguments has length of 3
ok 15 returns keys of arguments
# works with a boxed primitive
ok 16 String object returns proper keys
ok 17 object string returns proper keys
ok 18 String object with extra properties returns proper keys
# works with an array
ok 19 returns an array
ok 20 Array has expected keys
# works with a function
ok 21 does not throw an error
ok 22 returns expected keys
# returns names which are own properties
ok 23 str should be returned
ok 24 obj should be returned
ok 25 arr should be returned
ok 26 bool should be returned
ok 27 num should be returned
ok 28 aNull should be returned
ok 29 undef should be returned
# returns names which are enumerable
ok 30 str is not enumerable
ok 31 obj is not enumerable
ok 32 arr is not enumerable
ok 33 bool is not enumerable
ok 34 num is not enumerable
ok 35 aNull is not enumerable
ok 36 undef is not enumerable
# throws an error for a non-object
ok 37 throws on a non-object
# works with an object instance
ok 38 returns an array
ok 39 Instance has expected keys
# works in iOS 5 mobile Safari
ok 40 has expected keys
# works in environments with the dontEnum bug (IE < 9)
ok 41 has expected keys
# shadowed properties
ok 42 troublesome shadowed properties are keys of object literals
1..42
# tests 42
# pass 42
# ok
TAP version 13
# is.arguments
ok 1 array is not arguments
ok 2 arguments is arguments
ok 3 sliced arguments is not arguments
ok 4 old-style arguments is arguments
# exports a "shim" function
ok 5 keys.shim is a function
# when Object.keys is present
ok 6 Object.keys is not overridden
ok 7 Object.keys is returned
# when Object.keys is not present
ok 8 Object.keys has been deleted
ok 9 Object.keys is overridden
ok 10 shim is returned
# working with actual shim
ok 11 keys shim is not native Object.keys
# works with an object literal
ok 12 returns an array
ok 13 Object has expected keys
# works with an arguments object
ok 14 arguments has length of 3
ok 15 returns keys of arguments
# works with a boxed primitive
ok 16 String object returns proper keys
ok 17 object string returns proper keys
ok 18 String object with extra properties returns proper keys
# works with an array
ok 19 returns an array
ok 20 Array has expected keys
# works with a function
ok 21 does not throw an error
ok 22 returns expected keys
# returns names which are own properties
ok 23 str should be returned
ok 24 obj should be returned
ok 25 arr should be returned
ok 26 bool should be returned
ok 27 num should be returned
ok 28 aNull should be returned
ok 29 undef should be returned
# returns names which are enumerable
ok 30 str is not enumerable
ok 31 obj is not enumerable
ok 32 arr is not enumerable
ok 33 bool is not enumerable
ok 34 num is not enumerable
ok 35 aNull is not enumerable
ok 36 undef is not enumerable
# throws an error for a non-object
ok 37 throws on a non-object
# works with an object instance
ok 38 returns an array
ok 39 Instance has expected keys
# works in iOS 5 mobile Safari
ok 40 has expected keys
# works in environments with the dontEnum bug (IE < 9)
ok 41 has expected keys
# shadowed properties
ok 42 troublesome shadowed properties are keys of object literals
1..42
# tests 42
# pass 42
# ok
TAP version 13
# is.arguments
ok 1 array is not arguments
ok 2 arguments is arguments
ok 3 sliced arguments is not arguments
ok 4 old-style arguments is arguments
# exports a "shim" function
ok 5 keys.shim is a function
# when Object.keys is present
ok 6 Object.keys is not overridden
ok 7 Object.keys is returned
# when Object.keys is not present
ok 8 Object.keys has been deleted
ok 9 Object.keys is overridden
ok 10 shim is returned
# working with actual shim
ok 11 keys shim is not native Object.keys
# works with an object literal
ok 12 returns an array
ok 13 Object has expected keys
# works with an arguments object
ok 14 arguments has length of 3
ok 15 returns keys of arguments
# works with a boxed primitive
ok 16 String object returns proper keys
ok 17 object string returns proper keys
ok 18 String object with extra properties returns proper keys
# works with an array
ok 19 returns an array
ok 20 Array has expected keys
# works with a function
ok 21 does not throw an error
ok 22 returns expected keys
# returns names which are own properties
ok 23 str should be returned
ok 24 obj should be returned
ok 25 arr should be returned
ok 26 bool should be returned
ok 27 num should be returned
ok 28 aNull should be returned
ok 29 undef should be returned
# returns names which are enumerable
ok 30 str is not enumerable
ok 31 obj is not enumerable
ok 32 arr is not enumerable
ok 33 bool is not enumerable
ok 34 num is not enumerable
ok 35 aNull is not enumerable
ok 36 undef is not enumerable
# throws an error for a non-object
ok 37 throws on a non-object
# works with an object instance
ok 38 returns an array
ok 39 Instance has expected keys
# works in iOS 5 mobile Safari
ok 40 has expected keys
# works in environments with the dontEnum bug (IE < 9)
ok 41 has expected keys
# shadowed properties
ok 42 troublesome shadowed properties are keys of object literals
1..42
# tests 42
# pass 42
# ok
TAP version 13
# is.arguments
ok 1 array is not arguments
ok 2 arguments is arguments
ok 3 sliced arguments is not arguments
ok 4 old-style arguments is arguments
# exports a "shim" function
ok 5 keys.shim is a function
# when Object.keys is present
ok 6 Object.keys is not overridden
ok 7 Object.keys is returned
# when Object.keys is not present
ok 8 Object.keys has been deleted
ok 9 Object.keys is overridden
ok 10 shim is returned
# working with actual shim
ok 11 keys shim is not native Object.keys
# works with an object literal
ok 12 returns an array
ok 13 Object has expected keys
# works with an arguments object
ok 14 arguments has length of 3
ok 15 returns keys of arguments
# works with a boxed primitive
ok 16 String object returns proper keys
ok 17 object string returns proper keys
ok 18 String object with extra properties returns proper keys
# works with an array
ok 19 returns an array
ok 20 Array has expected keys
# works with a function
ok 21 does not throw an error
ok 22 returns expected keys
# returns names which are own properties
ok 23 str should be returned
ok 24 obj should be returned
ok 25 arr should be returned
ok 26 bool should be returned
ok 27 num should be returned
ok 28 aNull should be returned
ok 29 undef should be returned
# returns names which are enumerable
ok 30 str is not enumerable
ok 31 obj is not enumerable
ok 32 arr is not enumerable
ok 33 bool is not enumerable
ok 34 num is not enumerable
ok 35 aNull is not enumerable
ok 36 undef is not enumerable
# throws an error for a non-object
ok 37 throws on a non-object
# works with an object instance
ok 38 returns an array
ok 39 Instance has expected keys
# works in iOS 5 mobile Safari
ok 40 has expected keys
# works in environments with the dontEnum bug (IE < 9)
ok 41 has expected keys
# shadowed properties
ok 42 troublesome shadowed properties are keys of object literals
1..42
# tests 42
# pass 42
# ok
TAP version 13
# is.arguments
ok 1 array is not arguments
ok 2 arguments is arguments
ok 3 sliced arguments is not arguments
ok 4 old-style arguments is arguments
# exports a "shim" function
ok 5 keys.shim is a function
# when Object.keys is present
ok 6 Object.keys is not overridden
ok 7 Object.keys is returned
# when Object.keys is not present
ok 8 Object.keys has been deleted
ok 9 Object.keys is overridden
ok 10 shim is returned
# working with actual shim
ok 11 keys shim is not native Object.keys
# works with an object literal
ok 12 returns an array
ok 13 Object has expected keys
# works with an arguments object
ok 14 arguments has length of 3
ok 15 returns keys of arguments
# works with a boxed primitive
ok 16 String object returns proper keys
ok 17 object string returns proper keys
ok 18 String object with extra properties returns proper keys
# works with an array
ok 19 returns an array
ok 20 Array has expected keys
# works with a function
ok 21 does not throw an error
ok 22 returns expected keys
# returns names which are own properties
ok 23 str should be returned
ok 24 obj should be returned
ok 25 arr should be returned
ok 26 bool should be returned
ok 27 num should be returned
ok 28 aNull should be returned
ok 29 undef should be returned
# returns names which are enumerable
ok 30 str is not enumerable
ok 31 obj is not enumerable
ok 32 arr is not enumerable
ok 33 bool is not enumerable
ok 34 num is not enumerable
ok 35 aNull is not enumerable
ok 36 undef is not enumerable
# throws an error for a non-object
ok 37 throws on a non-object
# works with an object instance
ok 38 returns an array
ok 39 Instance has expected keys
# works in iOS 5 mobile Safari
ok 40 has expected keys
# works in environments with the dontEnum bug (IE < 9)
ok 41 has expected keys
# shadowed properties
ok 42 troublesome shadowed properties are keys of object literals
1..42
# tests 42
# pass 42
# ok
TAP version 13
# is.arguments
ok 1 array is not arguments
ok 2 arguments is arguments
ok 3 sliced arguments is not arguments
ok 4 old-style arguments is arguments
# exports a "shim" function
ok 5 keys.shim is a function
# when Object.keys is present
ok 6 Object.keys is not overridden
ok 7 Object.keys is returned
# when Object.keys is not present
ok 8 Object.keys has been deleted
ok 9 Object.keys is overridden
ok 10 shim is returned
# working with actual shim
ok 11 keys shim is not native Object.keys
# works with an object literal
ok 12 returns an array
ok 13 Object has expected keys
# works with an arguments object
ok 14 arguments has length of 3
ok 15 returns keys of arguments
# works with a boxed primitive
ok 16 String object returns proper keys
ok 17 object string returns proper keys
ok 18 String object with extra properties returns proper keys
# works with an array
ok 19 returns an array
ok 20 Array has expected keys
# works with a function
ok 21 does not throw an error
ok 22 returns expected keys
# returns names which are own properties
ok 23 str should be returned
ok 24 obj should be returned
ok 25 arr should be returned
ok 26 bool should be returned
ok 27 num should be returned
ok 28 aNull should be returned
ok 29 undef should be returned
# returns names which are enumerable
ok 30 str is not enumerable
ok 31 obj is not enumerable
ok 32 arr is not enumerable
ok 33 bool is not enumerable
ok 34 num is not enumerable
ok 35 aNull is not enumerable
ok 36 undef is not enumerable
# throws an error for a non-object
ok 37 throws on a non-object
# works with an object instance
ok 38 returns an array
ok 39 Instance has expected keys
# works in iOS 5 mobile Safari
ok 40 has expected keys
# works in environments with the dontEnum bug (IE < 9)
ok 41 has expected keys
# shadowed properties
ok 42 troublesome shadowed properties are keys of object literals
1..42
# tests 42
# pass 42
# ok
TAP version 13
# is.arguments
ok 1 array is not arguments
ok 2 arguments is arguments
ok 3 sliced arguments is not arguments
ok 4 old-style arguments is arguments
# exports a "shim" function
ok 5 keys.shim is a function
# when Object.keys is present
ok 6 Object.keys is not overridden
ok 7 Object.keys is returned
# when Object.keys is not present
ok 8 Object.keys has been deleted
ok 9 Object.keys is overridden
ok 10 shim is returned
# working with actual shim
ok 11 keys shim is not native Object.keys
# works with an object literal
ok 12 returns an array
ok 13 Object has expected keys
# works with an arguments object
ok 14 arguments has length of 3
ok 15 returns keys of arguments
# works with a boxed primitive
ok 16 String object returns proper keys
ok 17 object string returns proper keys
ok 18 String object with extra properties returns proper keys
# works with an array
ok 19 returns an array
ok 20 Array has expected keys
# works with a function
ok 21 does not throw an error
ok 22 returns expected keys
# returns names which are own properties
ok 23 str should be returned
ok 24 obj should be returned
ok 25 arr should be returned
ok 26 bool should be returned
ok 27 num should be returned
ok 28 aNull should be returned
ok 29 undef should be returned
# returns names which are enumerable
ok 30 str is not enumerable
ok 31 obj is not enumerable
ok 32 arr is not enumerable
ok 33 bool is not enumerable
ok 34 num is not enumerable
ok 35 aNull is not enumerable
ok 36 undef is not enumerable
# throws an error for a non-object
ok 37 throws on a non-object
# works with an object instance
ok 38 returns an array
ok 39 Instance has expected keys
# works in iOS 5 mobile Safari
ok 40 has expected keys
# works in environments with the dontEnum bug (IE < 9)
ok 41 has expected keys
# shadowed properties
ok 42 troublesome shadowed properties are keys of object literals
1..42
# tests 42
# pass 42
# ok
TAP version 13
# is.arguments
ok 1 array is not arguments
ok 2 arguments is arguments
ok 3 sliced arguments is not arguments
ok 4 old-style arguments is arguments
# exports a "shim" function
ok 5 keys.shim is a function
# when Object.keys is present
ok 6 Object.keys is not overridden
ok 7 Object.keys is returned
# when Object.keys is not present
ok 8 Object.keys has been deleted
ok 9 Object.keys is overridden
ok 10 shim is returned
# working with actual shim
ok 11 keys shim is not native Object.keys
# works with an object literal
ok 12 returns an array
ok 13 Object has expected keys
# works with an arguments object
ok 14 arguments has length of 3
ok 15 returns keys of arguments
# works with a boxed primitive
ok 16 String object returns proper keys
ok 17 object string returns proper keys
ok 18 String object with extra properties returns proper keys
# works with an array
ok 19 returns an array
ok 20 Array has expected keys
# works with a function
ok 21 does not throw an error
ok 22 returns expected keys
# returns names which are own properties
ok 23 str should be returned
ok 24 obj should be returned
ok 25 arr should be returned
ok 26 bool should be returned
ok 27 num should be returned
ok 28 aNull should be returned
ok 29 undef should be returned
# returns names which are enumerable
ok 30 str is not enumerable
ok 31 obj is not enumerable
ok 32 arr is not enumerable
ok 33 bool is not enumerable
ok 34 num is not enumerable
ok 35 aNull is not enumerable
ok 36 undef is not enumerable
# throws an error for a non-object
ok 37 throws on a non-object
# works with an object instance
ok 38 returns an array
ok 39 Instance has expected keys
# works in iOS 5 mobile Safari
ok 40 has expected keys
# works in environments with the dontEnum bug (IE < 9)
ok 41 has expected keys
# shadowed properties
ok 42 troublesome shadowed properties are keys of object literals
1..42
# tests 42
# pass 42
# ok
TAP version 13
# is.arguments
ok 1 array is not arguments
ok 2 arguments is arguments
ok 3 sliced arguments is not arguments
ok 4 old-style arguments is arguments
# exports a "shim" function
ok 5 keys.shim is a function
# when Object.keys is present
ok 6 Object.keys is not overridden
ok 7 Object.keys is returned
# when Object.keys is not present
ok 8 Object.keys has been deleted
ok 9 Object.keys is overridden
ok 10 shim is returned
# working with actual shim
ok 11 keys shim is not native Object.keys
# works with an object literal
ok 12 returns an array
ok 13 Object has expected keys
# works with an arguments object
ok 14 arguments has length of 3
ok 15 returns keys of arguments
# works with a boxed primitive
ok 16 String object returns proper keys
ok 17 object string returns proper keys
ok 18 String object with extra properties returns proper keys
# works with an array
ok 19 returns an array
ok 20 Array has expected keys
# works with a function
ok 21 does not throw an error
ok 22 returns expected keys
# returns names which are own properties
ok 23 str should be returned
ok 24 obj should be returned
ok 25 arr should be returned
ok 26 bool should be returned
ok 27 num should be returned
ok 28 aNull should be returned
ok 29 undef should be returned
# returns names which are enumerable
ok 30 str is not enumerable
ok 31 obj is not enumerable
ok 32 arr is not enumerable
ok 33 bool is not enumerable
ok 34 num is not enumerable
ok 35 aNull is not enumerable
ok 36 undef is not enumerable
# throws an error for a non-object
ok 37 throws on a non-object
# works with an object instance
ok 38 returns an array
ok 39 Instance has expected keys
# works in iOS 5 mobile Safari
ok 40 has expected keys
# works in environments with the dontEnum bug (IE < 9)
ok 41 has expected keys
# shadowed properties
ok 42 troublesome shadowed properties are keys of object literals
1..42
# tests 42
# pass 42
# ok
TAP version 13
# is.arguments
ok 1 array is not arguments
ok 2 arguments is arguments
ok 3 sliced arguments is not arguments
ok 4 old-style arguments is arguments
# exports a "shim" function
ok 5 keys.shim is a function
# when Object.keys is present
ok 6 Object.keys is not overridden
ok 7 Object.keys is returned
# when Object.keys is not present
ok 8 Object.keys has been deleted
ok 9 Object.keys is overridden
ok 10 shim is returned
# working with actual shim
ok 11 keys shim is not native Object.keys
# works with an object literal
ok 12 returns an array
ok 13 Object has expected keys
# works with an arguments object
ok 14 arguments has length of 3
ok 15 returns keys of arguments
# works with a boxed primitive
ok 16 String object returns proper keys
ok 17 object string returns proper keys
ok 18 String object with extra properties returns proper keys
# works with an array
ok 19 returns an array
ok 20 Array has expected keys
# works with a function
ok 21 does not throw an error
ok 22 returns expected keys
# returns names which are own properties
ok 23 str should be returned
ok 24 obj should be returned
ok 25 arr should be returned
ok 26 bool should be returned
ok 27 num should be returned
ok 28 aNull should be returned
ok 29 undef should be returned
# returns names which are enumerable
ok 30 str is not enumerable
ok 31 obj is not enumerable
ok 32 arr is not enumerable
ok 33 bool is not enumerable
ok 34 num is not enumerable
ok 35 aNull is not enumerable
ok 36 undef is not enumerable
# throws an error for a non-object
ok 37 throws on a non-object
# works with an object instance
ok 38 returns an array
ok 39 Instance has expected keys
# works in iOS 5 mobile Safari
ok 40 has expected keys
# works in environments with the dontEnum bug (IE < 9)
ok 41 has expected keys
# shadowed properties
ok 42 troublesome shadowed properties are keys of object literals
1..42
# tests 42
# pass 42
# ok
TAP version 13
# is.arguments
ok 1 array is not arguments
ok 2 arguments is arguments
ok 3 sliced arguments is not arguments
ok 4 old-style arguments is arguments
# exports a "shim" function
ok 5 keys.shim is a function
# when Object.keys is present
ok 6 Object.keys is not overridden
ok 7 Object.keys is returned
# when Object.keys is not present
ok 8 Object.keys has been deleted
ok 9 Object.keys is overridden
ok 10 shim is returned
# working with actual shim
ok 11 keys shim is not native Object.keys
# works with an object literal
ok 12 returns an array
ok 13 Object has expected keys
# works with an arguments object
ok 14 arguments has length of 3
ok 15 returns keys of arguments
# works with a boxed primitive
ok 16 String object returns proper keys
ok 17 object string returns proper keys
ok 18 String object with extra properties returns proper keys
# works with an array
ok 19 returns an array
ok 20 Array has expected keys
# works with a function
ok 21 does not throw an error
ok 22 returns expected keys
# returns names which are own properties
ok 23 str should be returned
ok 24 obj should be returned
ok 25 arr should be returned
ok 26 bool should be returned
ok 27 num should be returned
ok 28 aNull should be returned
ok 29 undef should be returned
# returns names which are enumerable
ok 30 str is not enumerable
ok 31 obj is not enumerable
ok 32 arr is not enumerable
ok 33 bool is not enumerable
ok 34 num is not enumerable
ok 35 aNull is not enumerable
ok 36 undef is not enumerable
# throws an error for a non-object
ok 37 throws on a non-object
# works with an object instance
ok 38 returns an array
ok 39 Instance has expected keys
# works in iOS 5 mobile Safari
ok 40 has expected keys
# works in environments with the dontEnum bug (IE < 9)
ok 41 has expected keys
# shadowed properties
ok 42 troublesome shadowed properties are keys of object literals
1..42
# tests 42
# pass 42
# ok
TAP version 13
# is.arguments
ok 1 array is not arguments
ok 2 arguments is arguments
ok 3 sliced arguments is not arguments
ok 4 old-style arguments is arguments
# exports a "shim" function
ok 5 keys.shim is a function
# when Object.keys is present
ok 6 Object.keys is not overridden
ok 7 Object.keys is returned
# when Object.keys is not present
ok 8 Object.keys has been deleted
ok 9 Object.keys is overridden
ok 10 shim is returned
# working with actual shim
ok 11 keys shim is not native Object.keys
# works with an object literal
ok 12 returns an array
ok 13 Object has expected keys
# works with an arguments object
ok 14 arguments has length of 3
ok 15 returns keys of arguments
# works with a boxed primitive
ok 16 String object returns proper keys
ok 17 object string returns proper keys
ok 18 String object with extra properties returns proper keys
# works with an array
ok 19 returns an array
ok 20 Array has expected keys
# works with a function
ok 21 does not throw an error
ok 22 returns expected keys
# returns names which are own properties
ok 23 str should be returned
ok 24 obj should be returned
ok 25 arr should be returned
ok 26 bool should be returned
ok 27 num should be returned
ok 28 aNull should be returned
ok 29 undef should be returned
# returns names which are enumerable
ok 30 str is not enumerable
ok 31 obj is not enumerable
ok 32 arr is not enumerable
ok 33 bool is not enumerable
ok 34 num is not enumerable
ok 35 aNull is not enumerable
ok 36 undef is not enumerable
# throws an error for a non-object
ok 37 throws on a non-object
# works with an object instance
ok 38 returns an array
ok 39 Instance has expected keys
# works in iOS 5 mobile Safari
ok 40 has expected keys
# works in environments with the dontEnum bug (IE < 9)
ok 41 has expected keys
# shadowed properties
ok 42 troublesome shadowed properties are keys of object literals
1..42
# tests 42
# pass 42
# ok
TAP version 13
# is.arguments
ok 1 array is not arguments
ok 2 arguments is arguments
ok 3 sliced arguments is not arguments
ok 4 old-style arguments is arguments
# exports a "shim" function
ok 5 keys.shim is a function
# when Object.keys is present
ok 6 Object.keys is not overridden
ok 7 Object.keys is returned
# when Object.keys is not present
ok 8 Object.keys has been deleted
ok 9 Object.keys is overridden
ok 10 shim is returned
# working with actual shim
ok 11 keys shim is not native Object.keys
# works with an object literal
ok 12 returns an array
ok 13 Object has expected keys
# works with an arguments object
ok 14 arguments has length of 3
ok 15 returns keys of arguments
# works with a boxed primitive
ok 16 String object returns proper keys
ok 17 object string returns proper keys
ok 18 String object with extra properties returns proper keys
# works with an array
ok 19 returns an array
ok 20 Array has expected keys
# works with a function
ok 21 does not throw an error
ok 22 returns expected keys
# returns names which are own properties
ok 23 str should be returned
ok 24 obj should be returned
ok 25 arr should be returned
ok 26 bool should be returned
ok 27 num should be returned
ok 28 aNull should be returned
ok 29 undef should be returned
# returns names which are enumerable
ok 30 str is not enumerable
ok 31 obj is not enumerable
ok 32 arr is not enumerable
ok 33 bool is not enumerable
ok 34 num is not enumerable
ok 35 aNull is not enumerable
ok 36 undef is not enumerable
# throws an error for a non-object
ok 37 throws on a non-object
# works with an object instance
ok 38 returns an array
ok 39 Instance has expected keys
# works in iOS 5 mobile Safari
ok 40 has expected keys
# works in environments with the dontEnum bug (IE < 9)
ok 41 has expected keys
# shadowed properties
ok 42 troublesome shadowed properties are keys of object literals
1..42
# tests 42
# pass 42
# ok
TAP version 13
# is.arguments
ok 1 array is not arguments
ok 2 arguments is arguments
ok 3 sliced arguments is not arguments
ok 4 old-style arguments is arguments
# exports a "shim" function
ok 5 keys.shim is a function
# when Object.keys is present
ok 6 Object.keys is not overridden
ok 7 Object.keys is returned
# when Object.keys is not present
ok 8 Object.keys has been deleted
ok 9 Object.keys is overridden
ok 10 shim is returned
# working with actual shim
ok 11 keys shim is not native Object.keys
# works with an object literal
ok 12 returns an array
ok 13 Object has expected keys
# works with an arguments object
ok 14 arguments has length of 3
ok 15 returns keys of arguments
# works with a boxed primitive
ok 16 String object returns proper keys
ok 17 object string returns proper keys
ok 18 String object with extra properties returns proper keys
# works with an array
ok 19 returns an array
ok 20 Array has expected keys
# works with a function
ok 21 does not throw an error
ok 22 returns expected keys
# returns names which are own properties
ok 23 str should be returned
ok 24 obj should be returned
ok 25 arr should be returned
ok 26 bool should be returned
ok 27 num should be returned
ok 28 aNull should be returned
ok 29 undef should be returned
# returns names which are enumerable
ok 30 str is not enumerable
ok 31 obj is not enumerable
ok 32 arr is not enumerable
ok 33 bool is not enumerable
ok 34 num is not enumerable
ok 35 aNull is not enumerable
ok 36 undef is not enumerable
# throws an error for a non-object
ok 37 throws on a non-object
# works with an object instance
ok 38 returns an array
ok 39 Instance has expected keys
# works in iOS 5 mobile Safari
ok 40 has expected keys
# works in environments with the dontEnum bug (IE < 9)
ok 41 has expected keys
# shadowed properties
ok 42 troublesome shadowed properties are keys of object literals
1..42
# tests 42
# pass 42
# ok
TAP version 13
# is.arguments
ok 1 array is not arguments
ok 2 arguments is arguments
ok 3 sliced arguments is not arguments
ok 4 old-style arguments is arguments
# exports a "shim" function
ok 5 keys.shim is a function
# when Object.keys is present
ok 6 Object.keys is not overridden
ok 7 Object.keys is returned
# when Object.keys is not present
ok 8 Object.keys has been deleted
ok 9 Object.keys is overridden
ok 10 shim is returned
# working with actual shim
ok 11 keys shim is not native Object.keys
# works with an object literal
ok 12 returns an array
ok 13 Object has expected keys
# works with an arguments object
ok 14 arguments has length of 3
ok 15 returns keys of arguments
# works with a boxed primitive
ok 16 String object returns proper keys
ok 17 object string returns proper keys
ok 18 String object with extra properties returns proper keys
# works with an array
ok 19 returns an array
ok 20 Array has expected keys
# works with a function
ok 21 does not throw an error
ok 22 returns expected keys
# returns names which are own properties
ok 23 str should be returned
ok 24 obj should be returned
ok 25 arr should be returned
ok 26 bool should be returned
ok 27 num should be returned
ok 28 aNull should be returned
ok 29 undef should be returned
# returns names which are enumerable
ok 30 str is not enumerable
ok 31 obj is not enumerable
ok 32 arr is not enumerable
ok 33 bool is not enumerable
ok 34 num is not enumerable
ok 35 aNull is not enumerable
ok 36 undef is not enumerable
# throws an error for a non-object
ok 37 throws on a non-object
# works with an object instance
ok 38 returns an array
ok 39 Instance has expected keys
# works in iOS 5 mobile Safari
ok 40 has expected keys
# works in environments with the dontEnum bug (IE < 9)
ok 41 has expected keys
# shadowed properties
ok 42 troublesome shadowed properties are keys of object literals
1..42
# tests 42
# pass 42
# ok
TAP version 13
# is.arguments
ok 1 array is not arguments
ok 2 arguments is arguments
ok 3 sliced arguments is not arguments
ok 4 old-style arguments is arguments
# exports a "shim" function
ok 5 keys.shim is a function
# when Object.keys is present
ok 6 Object.keys is not overridden
ok 7 Object.keys is returned
# when Object.keys is not present
ok 8 Object.keys has been deleted
ok 9 Object.keys is overridden
ok 10 shim is returned
# working with actual shim
ok 11 keys shim is not native Object.keys
# works with an object literal
ok 12 returns an array
ok 13 Object has expected keys
# works with an arguments object
ok 14 arguments has length of 3
ok 15 returns keys of arguments
# works with a boxed primitive
ok 16 String object returns proper keys
ok 17 object string returns proper keys
ok 18 String object with extra properties returns proper keys
# works with an array
ok 19 returns an array
ok 20 Array has expected keys
# works with a function
ok 21 does not throw an error
ok 22 returns expected keys
# returns names which are own properties
ok 23 str should be returned
ok 24 obj should be returned
ok 25 arr should be returned
ok 26 bool should be returned
ok 27 num should be returned
ok 28 aNull should be returned
ok 29 undef should be returned
# returns names which are enumerable
ok 30 str is not enumerable
ok 31 obj is not enumerable
ok 32 arr is not enumerable
ok 33 bool is not enumerable
ok 34 num is not enumerable
ok 35 aNull is not enumerable
ok 36 undef is not enumerable
# throws an error for a non-object
ok 37 throws on a non-object
# works with an object instance
ok 38 returns an array
ok 39 Instance has expected keys
# works in iOS 5 mobile Safari
ok 40 has expected keys
# works in environments with the dontEnum bug (IE < 9)
ok 41 has expected keys
# shadowed properties
ok 42 troublesome shadowed properties are keys of object literals
1..42
# tests 42
# pass 42
# ok
TAP version 13
# is.arguments
ok 1 array is not arguments
ok 2 arguments is arguments
ok 3 sliced arguments is not arguments
ok 4 old-style arguments is arguments
# exports a "shim" function
ok 5 keys.shim is a function
# when Object.keys is present
ok 6 Object.keys is not overridden
ok 7 Object.keys is returned
# when Object.keys is not present
ok 8 Object.keys has been deleted
ok 9 Object.keys is overridden
ok 10 shim is returned
# working with actual shim
ok 11 keys shim is not native Object.keys
# works with an object literal
ok 12 returns an array
ok 13 Object has expected keys
# works with an arguments object
ok 14 arguments has length of 3
ok 15 returns keys of arguments
# works with a boxed primitive
ok 16 String object returns proper keys
ok 17 object string returns proper keys
ok 18 String object with extra properties returns proper keys
# works with an array
ok 19 returns an array
ok 20 Array has expected keys
# works with a function
ok 21 does not throw an error
ok 22 returns expected keys
# returns names which are own properties
ok 23 str should be returned
ok 24 obj should be returned
ok 25 arr should be returned
ok 26 bool should be returned
ok 27 num should be returned
ok 28 aNull should be returned
ok 29 undef should be returned
# returns names which are enumerable
ok 30 str is not enumerable
ok 31 obj is not enumerable
ok 32 arr is not enumerable
ok 33 bool is not enumerable
ok 34 num is not enumerable
ok 35 aNull is not enumerable
ok 36 undef is not enumerable
# throws an error for a non-object
ok 37 throws on a non-object
# works with an object instance
ok 38 returns an array
ok 39 Instance has expected keys
# works in iOS 5 mobile Safari
ok 40 has expected keys
# works in environments with the dontEnum bug (IE < 9)
ok 41 has expected keys
# shadowed properties
ok 42 troublesome shadowed properties are keys of object literals
1..42
# tests 42
# pass 42
# ok
TAP version 13
# is.arguments
ok 1 array is not arguments
ok 2 arguments is arguments
ok 3 sliced arguments is not arguments
ok 4 old-style arguments is arguments
# exports a "shim" function
ok 5 keys.shim is a function
# when Object.keys is present
ok 6 Object.keys is not overridden
ok 7 Object.keys is returned
# when Object.keys is not present
ok 8 Object.keys has been deleted
ok 9 Object.keys is overridden
ok 10 shim is returned
# working with actual shim
ok 11 keys shim is not native Object.keys
# works with an object literal
ok 12 returns an array
ok 13 Object has expected keys
# works with an arguments object
ok 14 arguments has length of 3
ok 15 returns keys of arguments
# works with a boxed primitive
ok 16 String object returns proper keys
ok 17 object string returns proper keys
ok 18 String object with extra properties returns proper keys
# works with an array
ok 19 returns an array
ok 20 Array has expected keys
# works with a function
ok 21 does not throw an error
ok 22 returns expected keys
# returns names which are own properties
ok 23 str should be returned
ok 24 obj should be returned
ok 25 arr should be returned
ok 26 bool should be returned
ok 27 num should be returned
ok 28 aNull should be returned
ok 29 undef should be returned
# returns names which are enumerable
ok 30 str is not enumerable
ok 31 obj is not enumerable
ok 32 arr is not enumerable
ok 33 bool is not enumerable
ok 34 num is not enumerable
ok 35 aNull is not enumerable
ok 36 undef is not enumerable
# throws an error for a non-object
ok 37 throws on a non-object
# works with an object instance
ok 38 returns an array
ok 39 Instance has expected keys
# works in iOS 5 mobile Safari
ok 40 has expected keys
# works in environments with the dontEnum bug (IE < 9)
ok 41 has expected keys
# shadowed properties
ok 42 troublesome shadowed properties are keys of object literals
1..42
# tests 42
# pass 42
# ok
TAP version 13
# is.arguments
ok 1 array is not arguments
ok 2 arguments is arguments
ok 3 sliced arguments is not arguments
ok 4 old-style arguments is arguments
# exports a "shim" function
ok 5 keys.shim is a function
# when Object.keys is present
ok 6 Object.keys is not overridden
ok 7 Object.keys is returned
# when Object.keys is not present
ok 8 Object.keys has been deleted
ok 9 Object.keys is overridden
ok 10 shim is returned
# working with actual shim
ok 11 keys shim is not native Object.keys
# works with an object literal
ok 12 returns an array
ok 13 Object has expected keys
# works with an arguments object
ok 14 arguments has length of 3
ok 15 returns keys of arguments
# works with a boxed primitive
ok 16 String object returns proper keys
ok 17 object string returns proper keys
ok 18 String object with extra properties returns proper keys
# works with an array
ok 19 returns an array
ok 20 Array has expected keys
# works with a function
ok 21 does not throw an error
ok 22 returns expected keys
# returns names which are own properties
ok 23 str should be returned
ok 24 obj should be returned
ok 25 arr should be returned
ok 26 bool should be returned
ok 27 num should be returned
ok 28 aNull should be returned
ok 29 undef should be returned
# returns names which are enumerable
ok 30 str is not enumerable
ok 31 obj is not enumerable
ok 32 arr is not enumerable
ok 33 bool is not enumerable
ok 34 num is not enumerable
ok 35 aNull is not enumerable
ok 36 undef is not enumerable
# throws an error for a non-object
ok 37 throws on a non-object
# works with an object instance
ok 38 returns an array
ok 39 Instance has expected keys
# works in iOS 5 mobile Safari
ok 40 has expected keys
# works in environments with the dontEnum bug (IE < 9)
ok 41 has expected keys
# shadowed properties
ok 42 troublesome shadowed properties are keys of object literals
1..42
# tests 42
# pass 42
# ok
TAP version 13
# is.arguments
ok 1 array is not arguments
ok 2 arguments is arguments
ok 3 sliced arguments is not arguments
ok 4 old-style arguments is arguments
# exports a "shim" function
ok 5 keys.shim is a function
# when Object.keys is present
ok 6 Object.keys is not overridden
ok 7 Object.keys is returned
# when Object.keys is not present
ok 8 Object.keys has been deleted
ok 9 Object.keys is overridden
ok 10 shim is returned
# working with actual shim
ok 11 keys shim is not native Object.keys
# works with an object literal
ok 12 returns an array
ok 13 Object has expected keys
# works with an arguments object
ok 14 arguments has length of 3
ok 15 returns keys of arguments
# works with a boxed primitive
ok 16 String object returns proper keys
ok 17 object string returns proper keys
ok 18 String object with extra properties returns proper keys
# works with an array
ok 19 returns an array
ok 20 Array has expected keys
# works with a function
ok 21 does not throw an error
ok 22 returns expected keys
# returns names which are own properties
ok 23 str should be returned
ok 24 obj should be returned
ok 25 arr should be returned
ok 26 bool should be returned
ok 27 num should be returned
ok 28 aNull should be returned
ok 29 undef should be returned
# returns names which are enumerable
ok 30 str is not enumerable
ok 31 obj is not enumerable
ok 32 arr is not enumerable
ok 33 bool is not enumerable
ok 34 num is not enumerable
ok 35 aNull is not enumerable
ok 36 undef is not enumerable
# throws an error for a non-object
ok 37 throws on a non-object
# works with an object instance
ok 38 returns an array
ok 39 Instance has expected keys
# works in iOS 5 mobile Safari
ok 40 has expected keys
# works in environments with the dontEnum bug (IE < 9)
ok 41 has expected keys
# shadowed properties
ok 42 troublesome shadowed properties are keys of object literals
1..42
# tests 42
# pass 42
# ok
TAP version 13
# is.arguments
ok 1 array is not arguments
ok 2 arguments is arguments
ok 3 sliced arguments is not arguments
ok 4 old-style arguments is arguments
# exports a "shim" function
ok 5 keys.shim is a function
# when Object.keys is present
ok 6 Object.keys is not overridden
ok 7 Object.keys is returned
# when Object.keys is not present
ok 8 Object.keys has been deleted
ok 9 Object.keys is overridden
ok 10 shim is returned
# working with actual shim
ok 11 keys shim is not native Object.keys
# works with an object literal
ok 12 returns an array
ok 13 Object has expected keys
# works with an arguments object
ok 14 arguments has length of 3
ok 15 returns keys of arguments
# works with a boxed primitive
ok 16 String object returns proper keys
not ok 17 object string returns proper keys
---
operator: deepEqual
expected: [ '0', '1', '2', '3', '4' ]
actual: []
at: Test.assert (http://git.testling.com/work/ljharb/repos/a2060c4b261e5a153909119ebef8bcad91212906.1410193941500/1410193941737.eee4f619.js:5614:13)
...
ok 18 String object with extra properties returns proper keys
# works with an array
ok 19 returns an array
ok 20 Array has expected keys
# works with a function
ok 21 does not throw an error
ok 22 returns expected keys
# returns names which are own properties
ok 23 str should be returned
ok 24 obj should be returned
ok 25 arr should be returned
ok 26 bool should be returned
ok 27 num should be returned
ok 28 aNull should be returned
ok 29 undef should be returned
# returns names which are enumerable
ok 30 str is not enumerable
ok 31 obj is not enumerable
ok 32 arr is not enumerable
ok 33 bool is not enumerable
ok 34 num is not enumerable
ok 35 aNull is not enumerable
ok 36 undef is not enumerable
# throws an error for a non-object
ok 37 throws on a non-object
# works with an object instance
ok 38 returns an array
ok 39 Instance has expected keys
# works in iOS 5 mobile Safari
ok 40 has expected keys
# works in environments with the dontEnum bug (IE < 9)
ok 41 has expected keys
# shadowed properties
ok 42 troublesome shadowed properties are keys of object literals
1..42
# tests 42
# pass 41
# fail 1
TAP version 13
# is.arguments
ok 1 array is not arguments
ok 2 arguments is arguments
ok 3 sliced arguments is not arguments
ok 4 old-style arguments is arguments
# exports a "shim" function
ok 5 keys.shim is a function
# when Object.keys is present
ok 6 Object.keys is not overridden
ok 7 Object.keys is returned
# when Object.keys is not present
ok 8 Object.keys has been deleted
ok 9 Object.keys is overridden
ok 10 shim is returned
# working with actual shim
ok 11 keys shim is not native Object.keys
# works with an object literal
ok 12 returns an array
ok 13 Object has expected keys
# works with an arguments object
ok 14 arguments has length of 3
ok 15 returns keys of arguments
# works with a boxed primitive
ok 16 String object returns proper keys
not ok 17 object string returns proper keys
---
operator: deepEqual
expected: [ '0', '1', '2', '3', '4' ]
actual: []
at: Test.assert (http://git.testling.com/work/ljharb/repos/a2060c4b261e5a153909119ebef8bcad91212906.1410193941500/1410193941737.eee4f619.js:5614:13)
...
ok 18 String object with extra properties returns proper keys
# works with an array
ok 19 returns an array
ok 20 Array has expected keys
# works with a function
ok 21 does not throw an error
ok 22 returns expected keys
# returns names which are own properties
ok 23 str should be returned
ok 24 obj should be returned
ok 25 arr should be returned
ok 26 bool should be returned
ok 27 num should be returned
ok 28 aNull should be returned
ok 29 undef should be returned
# returns names which are enumerable
ok 30 str is not enumerable
ok 31 obj is not enumerable
ok 32 arr is not enumerable
ok 33 bool is not enumerable
ok 34 num is not enumerable
ok 35 aNull is not enumerable
ok 36 undef is not enumerable
# throws an error for a non-object
ok 37 throws on a non-object
# works with an object instance
ok 38 returns an array
ok 39 Instance has expected keys
# works in iOS 5 mobile Safari
ok 40 has expected keys
# works in environments with the dontEnum bug (IE < 9)
ok 41 has expected keys
# shadowed properties
ok 42 troublesome shadowed properties are keys of object literals
1..42
# tests 42
# pass 41
# fail 1
TAP version 13
# is.arguments
ok 1 array is not arguments
ok 2 arguments is arguments
ok 3 sliced arguments is not arguments
ok 4 old-style arguments is arguments
# exports a "shim" function
ok 5 keys.shim is a function
# when Object.keys is present
ok 6 Object.keys is not overridden
ok 7 Object.keys is returned
# when Object.keys is not present
ok 8 Object.keys has been deleted
ok 9 Object.keys is overridden
ok 10 shim is returned
# working with actual shim
ok 11 keys shim is not native Object.keys
# works with an object literal
ok 12 returns an array
ok 13 Object has expected keys
# works with an arguments object
ok 14 arguments has length of 3
ok 15 returns keys of arguments
# works with a boxed primitive
ok 16 String object returns proper keys
ok 17 object string returns proper keys
ok 18 String object with extra properties returns proper keys
# works with an array
ok 19 returns an array
ok 20 Array has expected keys
# works with a function
ok 21 does not throw an error
ok 22 returns expected keys
# returns names which are own properties
ok 23 str should be returned
ok 24 obj should be returned
ok 25 arr should be returned
ok 26 bool should be returned
ok 27 num should be returned
ok 28 aNull should be returned
ok 29 undef should be returned
# returns names which are enumerable
ok 30 str is not enumerable
ok 31 obj is not enumerable
ok 32 arr is not enumerable
ok 33 bool is not enumerable
ok 34 num is not enumerable
ok 35 aNull is not enumerable
ok 36 undef is not enumerable
# throws an error for a non-object
ok 37 throws on a non-object
# works with an object instance
ok 38 returns an array
ok 39 Instance has expected keys
# works in iOS 5 mobile Safari
ok 40 has expected keys
# works in environments with the dontEnum bug (IE < 9)
ok 41 has expected keys
# shadowed properties
ok 42 troublesome shadowed properties are keys of object literals
1..42
# tests 42
# pass 42
# ok
TAP version 13
# is.arguments
ok 1 array is not arguments
ok 2 arguments is arguments
ok 3 sliced arguments is not arguments
ok 4 old-style arguments is arguments
# exports a "shim" function
ok 5 keys.shim is a function
# when Object.keys is present
ok 6 Object.keys is not overridden
ok 7 Object.keys is returned
# when Object.keys is not present
ok 8 Object.keys has been deleted
ok 9 Object.keys is overridden
ok 10 shim is returned
# working with actual shim
ok 11 keys shim is not native Object.keys
# works with an object literal
ok 12 returns an array
ok 13 Object has expected keys
# works with an arguments object
ok 14 arguments has length of 3
ok 15 returns keys of arguments
# works with a boxed primitive
ok 16 String object returns proper keys
ok 17 object string returns proper keys
ok 18 String object with extra properties returns proper keys
# works with an array
ok 19 returns an array
ok 20 Array has expected keys
# works with a function
ok 21 does not throw an error
ok 22 returns expected keys
# returns names which are own properties
ok 23 str should be returned
ok 24 obj should be returned
ok 25 arr should be returned
ok 26 bool should be returned
ok 27 num should be returned
ok 28 aNull should be returned
ok 29 undef should be returned
# returns names which are enumerable
ok 30 str is not enumerable
ok 31 obj is not enumerable
ok 32 arr is not enumerable
ok 33 bool is not enumerable
ok 34 num is not enumerable
ok 35 aNull is not enumerable
ok 36 undef is not enumerable
# throws an error for a non-object
ok 37 throws on a non-object
# works with an object instance
ok 38 returns an array
ok 39 Instance has expected keys
# works in iOS 5 mobile Safari
ok 40 has expected keys
# works in environments with the dontEnum bug (IE < 9)
ok 41 has expected keys
# shadowed properties
ok 42 troublesome shadowed properties are keys of object literals
1..42
# tests 42
# pass 42
# ok
TAP version 13
# is.arguments
ok 1 array is not arguments
ok 2 arguments is arguments
ok 3 sliced arguments is not arguments
ok 4 old-style arguments is arguments
# exports a "shim" function
ok 5 keys.shim is a function
# when Object.keys is present
ok 6 Object.keys is not overridden
ok 7 Object.keys is returned
# when Object.keys is not present
ok 8 Object.keys has been deleted
ok 9 Object.keys is overridden
ok 10 shim is returned
# working with actual shim
ok 11 keys shim is not native Object.keys
# works with an object literal
ok 12 returns an array
ok 13 Object has expected keys
# works with an arguments object
ok 14 arguments has length of 3
ok 15 returns keys of arguments
# works with a boxed primitive
ok 16 String object returns proper keys
ok 17 object string returns proper keys
ok 18 String object with extra properties returns proper keys
# works with an array
ok 19 returns an array
ok 20 Array has expected keys
# works with a function
ok 21 does not throw an error
ok 22 returns expected keys
# returns names which are own properties
ok 23 str should be returned
ok 24 obj should be returned
ok 25 arr should be returned
ok 26 bool should be returned
ok 27 num should be returned
ok 28 aNull should be returned
ok 29 undef should be returned
# returns names which are enumerable
ok 30 str is not enumerable
ok 31 obj is not enumerable
ok 32 arr is not enumerable
ok 33 bool is not enumerable
ok 34 num is not enumerable
ok 35 aNull is not enumerable
ok 36 undef is not enumerable
# throws an error for a non-object
ok 37 throws on a non-object
# works with an object instance
ok 38 returns an array
ok 39 Instance has expected keys
# works in iOS 5 mobile Safari
ok 40 has expected keys
# works in environments with the dontEnum bug (IE < 9)
ok 41 has expected keys
# shadowed properties
ok 42 troublesome shadowed properties are keys of object literals
1..42
# tests 42
# pass 42
# ok
TAP version 13
# is.arguments
ok 1 array is not arguments
ok 2 arguments is arguments
ok 3 sliced arguments is not arguments
ok 4 old-style arguments is arguments
# exports a "shim" function
ok 5 keys.shim is a function
# when Object.keys is present
ok 6 Object.keys is not overridden
ok 7 Object.keys is returned
# when Object.keys is not present
ok 8 Object.keys has been deleted
ok 9 Object.keys is overridden
ok 10 shim is returned
# working with actual shim
ok 11 keys shim is not native Object.keys
# works with an object literal
ok 12 returns an array
ok 13 Object has expected keys
# works with an arguments object
ok 14 arguments has length of 3
ok 15 returns keys of arguments
# works with a boxed primitive
ok 16 String object returns proper keys
ok 17 object string returns proper keys
ok 18 String object with extra properties returns proper keys
# works with an array
ok 19 returns an array
ok 20 Array has expected keys
# works with a function
ok 21 does not throw an error
ok 22 returns expected keys
# returns names which are own properties
ok 23 str should be returned
ok 24 obj should be returned
ok 25 arr should be returned
ok 26 bool should be returned
ok 27 num should be returned
ok 28 aNull should be returned
ok 29 undef should be returned
# returns names which are enumerable
ok 30 str is not enumerable
ok 31 obj is not enumerable
ok 32 arr is not enumerable
ok 33 bool is not enumerable
ok 34 num is not enumerable
ok 35 aNull is not enumerable
ok 36 undef is not enumerable
# throws an error for a non-object
ok 37 throws on a non-object
# works with an object instance
ok 38 returns an array
ok 39 Instance has expected keys
# works in iOS 5 mobile Safari
ok 40 has expected keys
# works in environments with the dontEnum bug (IE < 9)
ok 41 has expected keys
# shadowed properties
ok 42 troublesome shadowed properties are keys of object literals
1..42
# tests 42
# pass 42
# ok
TAP version 13
# is.arguments
ok 1 array is not arguments
ok 2 arguments is arguments
ok 3 sliced arguments is not arguments
ok 4 old-style arguments is arguments
# exports a "shim" function
ok 5 keys.shim is a function
# when Object.keys is present
ok 6 Object.keys is not overridden
ok 7 Object.keys is returned
# when Object.keys is not present
ok 8 Object.keys has been deleted
ok 9 Object.keys is overridden
ok 10 shim is returned
# working with actual shim
ok 11 keys shim is not native Object.keys
# works with an object literal
ok 12 returns an array
ok 13 Object has expected keys
# works with an arguments object
ok 14 arguments has length of 3
ok 15 returns keys of arguments
# works with a boxed primitive
ok 16 String object returns proper keys
ok 17 object string returns proper keys
ok 18 String object with extra properties returns proper keys
# works with an array
ok 19 returns an array
ok 20 Array has expected keys
# works with a function
ok 21 does not throw an error
ok 22 returns expected keys
# returns names which are own properties
ok 23 str should be returned
ok 24 obj should be returned
ok 25 arr should be returned
ok 26 bool should be returned
ok 27 num should be returned
ok 28 aNull should be returned
ok 29 undef should be returned
# returns names which are enumerable
ok 30 str is not enumerable
ok 31 obj is not enumerable
ok 32 arr is not enumerable
ok 33 bool is not enumerable
ok 34 num is not enumerable
ok 35 aNull is not enumerable
ok 36 undef is not enumerable
# throws an error for a non-object
ok 37 throws on a non-object
# works with an object instance
ok 38 returns an array
ok 39 Instance has expected keys
# works in iOS 5 mobile Safari
ok 40 has expected keys
# works in environments with the dontEnum bug (IE < 9)
ok 41 has expected keys
# shadowed properties
ok 42 troublesome shadowed properties are keys of object literals
1..42
# tests 42
# pass 42
# ok
TAP version 13
# is.arguments
ok 1 array is not arguments
ok 2 arguments is arguments
ok 3 sliced arguments is not arguments
ok 4 old-style arguments is arguments
# exports a "shim" function
ok 5 keys.shim is a function
# when Object.keys is present
ok 6 Object.keys is not overridden
ok 7 Object.keys is returned
# when Object.keys is not present
ok 8 Object.keys has been deleted
ok 9 Object.keys is overridden
ok 10 shim is returned
# working with actual shim
ok 11 keys shim is not native Object.keys
# works with an object literal
ok 12 returns an array
ok 13 Object has expected keys
# works with an arguments object
ok 14 arguments has length of 3
ok 15 returns keys of arguments
# works with a boxed primitive
ok 16 String object returns proper keys
ok 17 object string returns proper keys
ok 18 String object with extra properties returns proper keys
# works with an array
ok 19 returns an array
ok 20 Array has expected keys
# works with a function
ok 21 does not throw an error
ok 22 returns expected keys
# returns names which are own properties
ok 23 str should be returned
ok 24 obj should be returned
ok 25 arr should be returned
ok 26 bool should be returned
ok 27 num should be returned
ok 28 aNull should be returned
ok 29 undef should be returned
# returns names which are enumerable
ok 30 str is not enumerable
ok 31 obj is not enumerable
ok 32 arr is not enumerable
ok 33 bool is not enumerable
ok 34 num is not enumerable
ok 35 aNull is not enumerable
ok 36 undef is not enumerable
# throws an error for a non-object
ok 37 throws on a non-object
# works with an object instance
ok 38 returns an array
ok 39 Instance has expected keys
# works in iOS 5 mobile Safari
ok 40 has expected keys
# works in environments with the dontEnum bug (IE < 9)
ok 41 has expected keys
# shadowed properties
ok 42 troublesome shadowed properties are keys of object literals
1..42
# tests 42
# pass 42
# ok
TAP version 13
# is.arguments
ok 1 array is not arguments
ok 2 arguments is arguments
ok 3 sliced arguments is not arguments
ok 4 old-style arguments is arguments
# exports a "shim" function
ok 5 keys.shim is a function
# when Object.keys is present
ok 6 Object.keys is not overridden
ok 7 Object.keys is returned
# when Object.keys is not present
ok 8 Object.keys has been deleted
ok 9 Object.keys is overridden
ok 10 shim is returned
# working with actual shim
ok 11 keys shim is not native Object.keys
# works with an object literal
ok 12 returns an array
ok 13 Object has expected keys
# works with an arguments object
ok 14 arguments has length of 3
ok 15 returns keys of arguments
# works with a boxed primitive
ok 16 String object returns proper keys
ok 17 object string returns proper keys
ok 18 String object with extra properties returns proper keys
# works with an array
ok 19 returns an array
ok 20 Array has expected keys
# works with a function
ok 21 does not throw an error
ok 22 returns expected keys
# returns names which are own properties
ok 23 str should be returned
ok 24 obj should be returned
ok 25 arr should be returned
ok 26 bool should be returned
ok 27 num should be returned
ok 28 aNull should be returned
ok 29 undef should be returned
# returns names which are enumerable
ok 30 str is not enumerable
ok 31 obj is not enumerable
ok 32 arr is not enumerable
ok 33 bool is not enumerable
ok 34 num is not enumerable
ok 35 aNull is not enumerable
ok 36 undef is not enumerable
# throws an error for a non-object
ok 37 throws on a non-object
# works with an object instance
ok 38 returns an array
ok 39 Instance has expected keys
# works in iOS 5 mobile Safari
ok 40 has expected keys
# works in environments with the dontEnum bug (IE < 9)
ok 41 has expected keys
# shadowed properties
ok 42 troublesome shadowed properties are keys of object literals
1..42
# tests 42
# pass 42
# ok
TAP version 13
# is.arguments
ok 1 array is not arguments
ok 2 arguments is arguments
ok 3 sliced arguments is not arguments
ok 4 old-style arguments is arguments
# exports a "shim" function
ok 5 keys.shim is a function
# when Object.keys is present
ok 6 Object.keys is not overridden
ok 7 Object.keys is returned
# when Object.keys is not present
ok 8 Object.keys has been deleted
ok 9 Object.keys is overridden
ok 10 shim is returned
# working with actual shim
ok 11 keys shim is not native Object.keys
# works with an object literal
ok 12 returns an array
ok 13 Object has expected keys
# works with an arguments object
ok 14 arguments has length of 3
ok 15 returns keys of arguments
# works with a boxed primitive
ok 16 String object returns proper keys
ok 17 object string returns proper keys
ok 18 String object with extra properties returns proper keys
# works with an array
ok 19 returns an array
ok 20 Array has expected keys
# works with a function
ok 21 does not throw an error
ok 22 returns expected keys
# returns names which are own properties
ok 23 str should be returned
ok 24 obj should be returned
ok 25 arr should be returned
ok 26 bool should be returned
ok 27 num should be returned
ok 28 aNull should be returned
ok 29 undef should be returned
# returns names which are enumerable
ok 30 str is not enumerable
ok 31 obj is not enumerable
ok 32 arr is not enumerable
ok 33 bool is not enumerable
ok 34 num is not enumerable
ok 35 aNull is not enumerable
ok 36 undef is not enumerable
# throws an error for a non-object
ok 37 throws on a non-object
# works with an object instance
ok 38 returns an array
ok 39 Instance has expected keys
# works in iOS 5 mobile Safari
ok 40 has expected keys
# works in environments with the dontEnum bug (IE < 9)
ok 41 has expected keys
# shadowed properties
ok 42 troublesome shadowed properties are keys of object literals
1..42
# tests 42
# pass 42
# ok
TAP version 13
# is.arguments
ok 1 array is not arguments
ok 2 arguments is arguments
ok 3 sliced arguments is not arguments
ok 4 old-style arguments is arguments
# exports a "shim" function
ok 5 keys.shim is a function
# when Object.keys is present
ok 6 Object.keys is not overridden
ok 7 Object.keys is returned
# when Object.keys is not present
ok 8 Object.keys has been deleted
ok 9 Object.keys is overridden
ok 10 shim is returned
# working with actual shim
ok 11 keys shim is not native Object.keys
# works with an object literal
ok 12 returns an array
ok 13 Object has expected keys
# works with an arguments object
ok 14 arguments has length of 3
ok 15 returns keys of arguments
# works with a boxed primitive
ok 16 String object returns proper keys
ok 17 object string returns proper keys
ok 18 String object with extra properties returns proper keys
# works with an array
ok 19 returns an array
ok 20 Array has expected keys
# works with a function
ok 21 does not throw an error
ok 22 returns expected keys
# returns names which are own properties
ok 23 str should be returned
ok 24 obj should be returned
ok 25 arr should be returned
ok 26 bool should be returned
ok 27 num should be returned
ok 28 aNull should be returned
ok 29 undef should be returned
# returns names which are enumerable
ok 30 str is not enumerable
ok 31 obj is not enumerable
ok 32 arr is not enumerable
ok 33 bool is not enumerable
ok 34 num is not enumerable
ok 35 aNull is not enumerable
ok 36 undef is not enumerable
# throws an error for a non-object
ok 37 throws on a non-object
# works with an object instance
ok 38 returns an array
ok 39 Instance has expected keys
# works in iOS 5 mobile Safari
ok 40 has expected keys
# works in environments with the dontEnum bug (IE < 9)
ok 41 has expected keys
# shadowed properties
ok 42 troublesome shadowed properties are keys of object literals
1..42
# tests 42
# pass 42
# ok
TAP version 13
# is.arguments
ok 1 array is not arguments
ok 2 arguments is arguments
ok 3 sliced arguments is not arguments
ok 4 old-style arguments is arguments
# exports a "shim" function
ok 5 keys.shim is a function
# when Object.keys is present
ok 6 Object.keys is not overridden
ok 7 Object.keys is returned
# when Object.keys is not present
ok 8 Object.keys has been deleted
ok 9 Object.keys is overridden
ok 10 shim is returned
# working with actual shim
ok 11 keys shim is not native Object.keys
# works with an object literal
ok 12 returns an array
ok 13 Object has expected keys
# works with an arguments object
ok 14 arguments has length of 3
ok 15 returns keys of arguments
# works with a boxed primitive
ok 16 String object returns proper keys
ok 17 object string returns proper keys
ok 18 String object with extra properties returns proper keys
# works with an array
ok 19 returns an array
ok 20 Array has expected keys
# works with a function
ok 21 does not throw an error
ok 22 returns expected keys
# returns names which are own properties
ok 23 str should be returned
ok 24 obj should be returned
ok 25 arr should be returned
ok 26 bool should be returned
ok 27 num should be returned
ok 28 aNull should be returned
ok 29 undef should be returned
# returns names which are enumerable
ok 30 str is not enumerable
ok 31 obj is not enumerable
ok 32 arr is not enumerable
ok 33 bool is not enumerable
ok 34 num is not enumerable
ok 35 aNull is not enumerable
ok 36 undef is not enumerable
# throws an error for a non-object
ok 37 throws on a non-object
# works with an object instance
ok 38 returns an array
ok 39 Instance has expected keys
# works in iOS 5 mobile Safari
ok 40 has expected keys
# works in environments with the dontEnum bug (IE < 9)
ok 41 has expected keys
# shadowed properties
ok 42 troublesome shadowed properties are keys of object literals
1..42
# tests 42
# pass 42
# ok
TAP version 13
# is.arguments
ok 1 array is not arguments
ok 2 arguments is arguments
ok 3 sliced arguments is not arguments
ok 4 old-style arguments is arguments
# exports a "shim" function
ok 5 keys.shim is a function
# when Object.keys is present
ok 6 Object.keys is not overridden
ok 7 Object.keys is returned
# when Object.keys is not present
ok 8 Object.keys has been deleted
ok 9 Object.keys is overridden
ok 10 shim is returned
# working with actual shim
ok 11 keys shim is not native Object.keys
# works with an object literal
ok 12 returns an array
ok 13 Object has expected keys
# works with an arguments object
ok 14 arguments has length of 3
ok 15 returns keys of arguments
# works with a boxed primitive
ok 16 String object returns proper keys
ok 17 object string returns proper keys
ok 18 String object with extra properties returns proper keys
# works with an array
ok 19 returns an array
ok 20 Array has expected keys
# works with a function
ok 21 does not throw an error
ok 22 returns expected keys
# returns names which are own properties
ok 23 str should be returned
ok 24 obj should be returned
ok 25 arr should be returned
ok 26 bool should be returned
ok 27 num should be returned
ok 28 aNull should be returned
ok 29 undef should be returned
# returns names which are enumerable
ok 30 str is not enumerable
ok 31 obj is not enumerable
ok 32 arr is not enumerable
ok 33 bool is not enumerable
ok 34 num is not enumerable
ok 35 aNull is not enumerable
ok 36 undef is not enumerable
# throws an error for a non-object
ok 37 throws on a non-object
# works with an object instance
ok 38 returns an array
ok 39 Instance has expected keys
# works in iOS 5 mobile Safari
ok 40 has expected keys
# works in environments with the dontEnum bug (IE < 9)
ok 41 has expected keys
# shadowed properties
ok 42 troublesome shadowed properties are keys of object literals
1..42
# tests 42
# pass 42
# ok
TAP version 13
# is.arguments
ok 1 array is not arguments
ok 2 arguments is arguments
ok 3 sliced arguments is not arguments
ok 4 old-style arguments is arguments
# exports a "shim" function
ok 5 keys.shim is a function
# when Object.keys is present
ok 6 Object.keys is not overridden
ok 7 Object.keys is returned
# when Object.keys is not present
ok 8 Object.keys has been deleted
ok 9 Object.keys is overridden
ok 10 shim is returned
# working with actual shim
ok 11 keys shim is not native Object.keys
# works with an object literal
ok 12 returns an array
ok 13 Object has expected keys
# works with an arguments object
ok 14 arguments has length of 3
ok 15 returns keys of arguments
# works with a boxed primitive
ok 16 String object returns proper keys
ok 17 object string returns proper keys
ok 18 String object with extra properties returns proper keys
# works with an array
ok 19 returns an array
ok 20 Array has expected keys
# works with a function
ok 21 does not throw an error
ok 22 returns expected keys
# returns names which are own properties
ok 23 str should be returned
ok 24 obj should be returned
ok 25 arr should be returned
ok 26 bool should be returned
ok 27 num should be returned
ok 28 aNull should be returned
ok 29 undef should be returned
# returns names which are enumerable
ok 30 str is not enumerable
ok 31 obj is not enumerable
ok 32 arr is not enumerable
ok 33 bool is not enumerable
ok 34 num is not enumerable
ok 35 aNull is not enumerable
ok 36 undef is not enumerable
# throws an error for a non-object
ok 37 throws on a non-object
# works with an object instance
ok 38 returns an array
ok 39 Instance has expected keys
# works in iOS 5 mobile Safari
ok 40 has expected keys
# works in environments with the dontEnum bug (IE < 9)
ok 41 has expected keys
# shadowed properties
ok 42 troublesome shadowed properties are keys of object literals
1..42
# tests 42
# pass 42
# ok
TAP version 13
# is.arguments
ok 1 array is not arguments
ok 2 arguments is arguments
ok 3 sliced arguments is not arguments
ok 4 old-style arguments is arguments
# exports a "shim" function
ok 5 keys.shim is a function
# when Object.keys is present
ok 6 Object.keys is not overridden
ok 7 Object.keys is returned
# when Object.keys is not present
ok 8 Object.keys has been deleted
ok 9 Object.keys is overridden
ok 10 shim is returned
# working with actual shim
ok 11 keys shim is not native Object.keys
# works with an object literal
ok 12 returns an array
ok 13 Object has expected keys
# works with an arguments object
ok 14 arguments has length of 3
ok 15 returns keys of arguments
# works with a boxed primitive
ok 16 String object returns proper keys
ok 17 object string returns proper keys
ok 18 String object with extra properties returns proper keys
# works with an array
ok 19 returns an array
ok 20 Array has expected keys
# works with a function
ok 21 does not throw an error
ok 22 returns expected keys
# returns names which are own properties
ok 23 str should be returned
ok 24 obj should be returned
ok 25 arr should be returned
ok 26 bool should be returned
ok 27 num should be returned
ok 28 aNull should be returned
ok 29 undef should be returned
# returns names which are enumerable
ok 30 str is not enumerable
ok 31 obj is not enumerable
ok 32 arr is not enumerable
ok 33 bool is not enumerable
ok 34 num is not enumerable
ok 35 aNull is not enumerable
ok 36 undef is not enumerable
# throws an error for a non-object
ok 37 throws on a non-object
# works with an object instance
ok 38 returns an array
ok 39 Instance has expected keys
# works in iOS 5 mobile Safari
ok 40 has expected keys
# works in environments with the dontEnum bug (IE < 9)
ok 41 has expected keys
# shadowed properties
ok 42 troublesome shadowed properties are keys of object literals
1..42
# tests 42
# pass 42
# ok
TAP version 13
# is.arguments
ok 1 array is not arguments
ok 2 arguments is arguments
ok 3 sliced arguments is not arguments
ok 4 old-style arguments is arguments
# exports a "shim" function
ok 5 keys.shim is a function
# when Object.keys is present
ok 6 Object.keys is not overridden
ok 7 Object.keys is returned
# when Object.keys is not present
ok 8 Object.keys has been deleted
ok 9 Object.keys is overridden
ok 10 shim is returned
# working with actual shim
ok 11 keys shim is not native Object.keys
# works with an object literal
ok 12 returns an array
ok 13 Object has expected keys
# works with an arguments object
ok 14 arguments has length of 3
ok 15 returns keys of arguments
# works with a boxed primitive
ok 16 String object returns proper keys
ok 17 object string returns proper keys
ok 18 String object with extra properties returns proper keys
# works with an array
ok 19 returns an array
ok 20 Array has expected keys
# works with a function
ok 21 does not throw an error
ok 22 returns expected keys
# returns names which are own properties
ok 23 str should be returned
ok 24 obj should be returned
ok 25 arr should be returned
ok 26 bool should be returned
ok 27 num should be returned
ok 28 aNull should be returned
ok 29 undef should be returned
# returns names which are enumerable
ok 30 str is not enumerable
ok 31 obj is not enumerable
ok 32 arr is not enumerable
ok 33 bool is not enumerable
ok 34 num is not enumerable
ok 35 aNull is not enumerable
ok 36 undef is not enumerable
# throws an error for a non-object
ok 37 throws on a non-object
# works with an object instance
ok 38 returns an array
ok 39 Instance has expected keys
# works in iOS 5 mobile Safari
ok 40 has expected keys
# works in environments with the dontEnum bug (IE < 9)
ok 41 has expected keys
# shadowed properties
ok 42 troublesome shadowed properties are keys of object literals
1..42
# tests 42
# pass 42
# ok
TAP version 13
# is.arguments
ok 1 array is not arguments
ok 2 arguments is arguments
ok 3 sliced arguments is not arguments
ok 4 old-style arguments is arguments
# exports a "shim" function
ok 5 keys.shim is a function
# when Object.keys is present
ok 6 Object.keys is not overridden
ok 7 Object.keys is returned
# when Object.keys is not present
ok 8 Object.keys has been deleted
ok 9 Object.keys is overridden
ok 10 shim is returned
# working with actual shim
ok 11 keys shim is not native Object.keys
# works with an object literal
ok 12 returns an array
ok 13 Object has expected keys
# works with an arguments object
ok 14 arguments has length of 3
ok 15 returns keys of arguments
# works with a boxed primitive
ok 16 String object returns proper keys
ok 17 object string returns proper keys
ok 18 String object with extra properties returns proper keys
# works with an array
ok 19 returns an array
ok 20 Array has expected keys
# works with a function
ok 21 does not throw an error
ok 22 returns expected keys
# returns names which are own properties
ok 23 str should be returned
ok 24 obj should be returned
ok 25 arr should be returned
ok 26 bool should be returned
ok 27 num should be returned
ok 28 aNull should be returned
ok 29 undef should be returned
# returns names which are enumerable
ok 30 str is not enumerable
ok 31 obj is not enumerable
ok 32 arr is not enumerable
ok 33 bool is not enumerable
ok 34 num is not enumerable
ok 35 aNull is not enumerable
ok 36 undef is not enumerable
# throws an error for a non-object
ok 37 throws on a non-object
# works with an object instance
ok 38 returns an array
ok 39 Instance has expected keys
# works in iOS 5 mobile Safari
ok 40 has expected keys
# works in environments with the dontEnum bug (IE < 9)
ok 41 has expected keys
# shadowed properties
ok 42 troublesome shadowed properties are keys of object literals
1..42
# tests 42
# pass 42
# ok
TAP version 13
# is.arguments
ok 1 array is not arguments
ok 2 arguments is arguments
ok 3 sliced arguments is not arguments
ok 4 old-style arguments is arguments
# exports a "shim" function
ok 5 keys.shim is a function
# when Object.keys is present
ok 6 Object.keys is not overridden
ok 7 Object.keys is returned
# when Object.keys is not present
ok 8 Object.keys has been deleted
ok 9 Object.keys is overridden
ok 10 shim is returned
# working with actual shim
ok 11 keys shim is not native Object.keys
# works with an object literal
ok 12 returns an array
ok 13 Object has expected keys
# works with an arguments object
ok 14 arguments has length of 3
ok 15 returns keys of arguments
# works with a boxed primitive
ok 16 String object returns proper keys
ok 17 object string returns proper keys
ok 18 String object with extra properties returns proper keys
# works with an array
ok 19 returns an array
ok 20 Array has expected keys
# works with a function
ok 21 does not throw an error
ok 22 returns expected keys
# returns names which are own properties
ok 23 str should be returned
ok 24 obj should be returned
ok 25 arr should be returned
ok 26 bool should be returned
ok 27 num should be returned
ok 28 aNull should be returned
ok 29 undef should be returned
# returns names which are enumerable
ok 30 str is not enumerable
ok 31 obj is not enumerable
ok 32 arr is not enumerable
ok 33 bool is not enumerable
ok 34 num is not enumerable
ok 35 aNull is not enumerable
ok 36 undef is not enumerable
# throws an error for a non-object
ok 37 throws on a non-object
# works with an object instance
ok 38 returns an array
ok 39 Instance has expected keys
# works in iOS 5 mobile Safari
ok 40 has expected keys
# works in environments with the dontEnum bug (IE < 9)
ok 41 has expected keys
# shadowed properties
ok 42 troublesome shadowed properties are keys of object literals
1..42
# tests 42
# pass 42
# ok
TAP version 13
# is.arguments
ok 1 array is not arguments
ok 2 arguments is arguments
ok 3 sliced arguments is not arguments
ok 4 old-style arguments is arguments
# exports a "shim" function
ok 5 keys.shim is a function
# when Object.keys is present
ok 6 Object.keys is not overridden
ok 7 Object.keys is returned
# when Object.keys is not present
ok 8 Object.keys has been deleted
ok 9 Object.keys is overridden
ok 10 shim is returned
# working with actual shim
ok 11 keys shim is not native Object.keys
# works with an object literal
ok 12 returns an array
ok 13 Object has expected keys
# works with an arguments object
ok 14 arguments has length of 3
ok 15 returns keys of arguments
# works with a boxed primitive
ok 16 String object returns proper keys
ok 17 object string returns proper keys
ok 18 String object with extra properties returns proper keys
# works with an array
ok 19 returns an array
ok 20 Array has expected keys
# works with a function
ok 21 does not throw an error
ok 22 returns expected keys
# returns names which are own properties
ok 23 str should be returned
ok 24 obj should be returned
ok 25 arr should be returned
ok 26 bool should be returned
ok 27 num should be returned
ok 28 aNull should be returned
ok 29 undef should be returned
# returns names which are enumerable
ok 30 str is not enumerable
ok 31 obj is not enumerable
ok 32 arr is not enumerable
ok 33 bool is not enumerable
ok 34 num is not enumerable
ok 35 aNull is not enumerable
ok 36 undef is not enumerable
# throws an error for a non-object
ok 37 throws on a non-object
# works with an object instance
ok 38 returns an array
ok 39 Instance has expected keys
# works in iOS 5 mobile Safari
ok 40 has expected keys
# works in environments with the dontEnum bug (IE < 9)
ok 41 has expected keys
# shadowed properties
ok 42 troublesome shadowed properties are keys of object literals
1..42
# tests 42
# pass 42
# ok
TAP version 13
# is.arguments
ok 1 array is not arguments
ok 2 arguments is arguments
ok 3 sliced arguments is not arguments
ok 4 old-style arguments is arguments
# exports a "shim" function
ok 5 keys.shim is a function
# when Object.keys is present
ok 6 Object.keys is not overridden
ok 7 Object.keys is returned
# when Object.keys is not present
ok 8 Object.keys has been deleted
ok 9 Object.keys is overridden
ok 10 shim is returned
# working with actual shim
ok 11 keys shim is not native Object.keys
# works with an object literal
ok 12 returns an array
ok 13 Object has expected keys
# works with an arguments object
ok 14 arguments has length of 3
ok 15 returns keys of arguments
# works with a boxed primitive
ok 16 String object returns proper keys
ok 17 object string returns proper keys
ok 18 String object with extra properties returns proper keys
# works with an array
ok 19 returns an array
ok 20 Array has expected keys
# works with a function
ok 21 does not throw an error
ok 22 returns expected keys
# returns names which are own properties
ok 23 str should be returned
ok 24 obj should be returned
ok 25 arr should be returned
ok 26 bool should be returned
ok 27 num should be returned
ok 28 aNull should be returned
ok 29 undef should be returned
# returns names which are enumerable
ok 30 str is not enumerable
ok 31 obj is not enumerable
ok 32 arr is not enumerable
ok 33 bool is not enumerable
ok 34 num is not enumerable
ok 35 aNull is not enumerable
ok 36 undef is not enumerable
# throws an error for a non-object
ok 37 throws on a non-object
# works with an object instance
ok 38 returns an array
ok 39 Instance has expected keys
# works in iOS 5 mobile Safari
ok 40 has expected keys
# works in environments with the dontEnum bug (IE < 9)
ok 41 has expected keys
# shadowed properties
ok 42 troublesome shadowed properties are keys of object literals
1..42
# tests 42
# pass 42
# ok
TAP version 13
# is.arguments
ok 1 array is not arguments
ok 2 arguments is arguments
ok 3 sliced arguments is not arguments
ok 4 old-style arguments is arguments
# exports a "shim" function
ok 5 keys.shim is a function
# when Object.keys is present
ok 6 Object.keys is not overridden
ok 7 Object.keys is returned
# when Object.keys is not present
ok 8 Object.keys has been deleted
ok 9 Object.keys is overridden
ok 10 shim is returned
# working with actual shim
ok 11 keys shim is not native Object.keys
# works with an object literal
ok 12 returns an array
ok 13 Object has expected keys
# works with an arguments object
ok 14 arguments has length of 3
ok 15 returns keys of arguments
# works with a boxed primitive
ok 16 String object returns proper keys
ok 17 object string returns proper keys
ok 18 String object with extra properties returns proper keys
# works with an array
ok 19 returns an array
ok 20 Array has expected keys
# works with a function
ok 21 does not throw an error
ok 22 returns expected keys
# returns names which are own properties
ok 23 str should be returned
ok 24 obj should be returned
ok 25 arr should be returned
ok 26 bool should be returned
ok 27 num should be returned
ok 28 aNull should be returned
ok 29 undef should be returned
# returns names which are enumerable
ok 30 str is not enumerable
ok 31 obj is not enumerable
ok 32 arr is not enumerable
ok 33 bool is not enumerable
ok 34 num is not enumerable
ok 35 aNull is not enumerable
ok 36 undef is not enumerable
# throws an error for a non-object
ok 37 throws on a non-object
# works with an object instance
ok 38 returns an array
ok 39 Instance has expected keys
# works in iOS 5 mobile Safari
ok 40 has expected keys
# works in environments with the dontEnum bug (IE < 9)
ok 41 has expected keys
# shadowed properties
ok 42 troublesome shadowed properties are keys of object literals
1..42
# tests 42
# pass 42
# ok
TAP version 13
# is.arguments
ok 1 array is not arguments
ok 2 arguments is arguments
ok 3 sliced arguments is not arguments
ok 4 old-style arguments is arguments
# exports a "shim" function
ok 5 keys.shim is a function
# when Object.keys is present
ok 6 Object.keys is not overridden
ok 7 Object.keys is returned
# when Object.keys is not present
ok 8 Object.keys has been deleted
ok 9 Object.keys is overridden
ok 10 shim is returned
# working with actual shim
ok 11 keys shim is not native Object.keys
# works with an object literal
ok 12 returns an array
ok 13 Object has expected keys
# works with an arguments object
ok 14 arguments has length of 3
ok 15 returns keys of arguments
# works with a boxed primitive
ok 16 String object returns proper keys
ok 17 object string returns proper keys
ok 18 String object with extra properties returns proper keys
# works with an array
ok 19 returns an array
ok 20 Array has expected keys
# works with a function
ok 21 does not throw an error
ok 22 returns expected keys
# returns names which are own properties
ok 23 str should be returned
ok 24 obj should be returned
ok 25 arr should be returned
ok 26 bool should be returned
ok 27 num should be returned
ok 28 aNull should be returned
ok 29 undef should be returned
# returns names which are enumerable
ok 30 str is not enumerable
ok 31 obj is not enumerable
ok 32 arr is not enumerable
ok 33 bool is not enumerable
ok 34 num is not enumerable
ok 35 aNull is not enumerable
ok 36 undef is not enumerable
# throws an error for a non-object
ok 37 throws on a non-object
# works with an object instance
ok 38 returns an array
ok 39 Instance has expected keys
# works in iOS 5 mobile Safari
ok 40 has expected keys
# works in environments with the dontEnum bug (IE < 9)
ok 41 has expected keys
# shadowed properties
ok 42 troublesome shadowed properties are keys of object literals
1..42
# tests 42
# pass 42
# ok
TAP version 13
# is.arguments
ok 1 array is not arguments
ok 2 arguments is arguments
ok 3 sliced arguments is not arguments
ok 4 old-style arguments is arguments
# exports a "shim" function
ok 5 keys.shim is a function
# when Object.keys is present
ok 6 Object.keys is not overridden
ok 7 Object.keys is returned
# when Object.keys is not present
ok 8 Object.keys has been deleted
ok 9 Object.keys is overridden
ok 10 shim is returned
# working with actual shim
ok 11 keys shim is not native Object.keys
# works with an object literal
ok 12 returns an array
ok 13 Object has expected keys
# works with an arguments object
ok 14 arguments has length of 3
ok 15 returns keys of arguments
# works with a boxed primitive
ok 16 String object returns proper keys
ok 17 object string returns proper keys
ok 18 String object with extra properties returns proper keys
# works with an array
ok 19 returns an array
ok 20 Array has expected keys
# works with a function
ok 21 does not throw an error
ok 22 returns expected keys
# returns names which are own properties
ok 23 str should be returned
ok 24 obj should be returned
ok 25 arr should be returned
ok 26 bool should be returned
ok 27 num should be returned
ok 28 aNull should be returned
ok 29 undef should be returned
# returns names which are enumerable
ok 30 str is not enumerable
ok 31 obj is not enumerable
ok 32 arr is not enumerable
ok 33 bool is not enumerable
ok 34 num is not enumerable
ok 35 aNull is not enumerable
ok 36 undef is not enumerable
# throws an error for a non-object
ok 37 throws on a non-object
# works with an object instance
ok 38 returns an array
ok 39 Instance has expected keys
# works in iOS 5 mobile Safari
ok 40 has expected keys
# works in environments with the dontEnum bug (IE < 9)
ok 41 has expected keys
# shadowed properties
ok 42 troublesome shadowed properties are keys of object literals
1..42
# tests 42
# pass 42
# ok
TAP version 13
# is.arguments
ok 1 array is not arguments
ok 2 arguments is arguments
ok 3 sliced arguments is not arguments
ok 4 old-style arguments is arguments
# exports a "shim" function
ok 5 keys.shim is a function
# when Object.keys is present
ok 6 Object.keys is not overridden
ok 7 Object.keys is returned
# when Object.keys is not present
ok 8 Object.keys has been deleted
ok 9 Object.keys is overridden
ok 10 shim is returned
# working with actual shim
ok 11 keys shim is not native Object.keys
# works with an object literal
ok 12 returns an array
ok 13 Object has expected keys
# works with an arguments object
ok 14 arguments has length of 3
ok 15 returns keys of arguments
# works with a boxed primitive
ok 16 String object returns proper keys
ok 17 object string returns proper keys
ok 18 String object with extra properties returns proper keys
# works with an array
ok 19 returns an array
ok 20 Array has expected keys
# works with a function
ok 21 does not throw an error
ok 22 returns expected keys
# returns names which are own properties
ok 23 str should be returned
ok 24 obj should be returned
ok 25 arr should be returned
ok 26 bool should be returned
ok 27 num should be returned
ok 28 aNull should be returned
ok 29 undef should be returned
# returns names which are enumerable
ok 30 str is not enumerable
ok 31 obj is not enumerable
ok 32 arr is not enumerable
ok 33 bool is not enumerable
ok 34 num is not enumerable
ok 35 aNull is not enumerable
ok 36 undef is not enumerable
# throws an error for a non-object
ok 37 throws on a non-object
# works with an object instance
ok 38 returns an array
ok 39 Instance has expected keys
# works in iOS 5 mobile Safari
ok 40 has expected keys
# works in environments with the dontEnum bug (IE < 9)
ok 41 has expected keys
# shadowed properties
ok 42 troublesome shadowed properties are keys of object literals
1..42
# tests 42
# pass 42
# ok
TAP version 13
# is.arguments
ok 1 array is not arguments
ok 2 arguments is arguments
ok 3 sliced arguments is not arguments
ok 4 old-style arguments is arguments
# exports a "shim" function
ok 5 keys.shim is a function
# when Object.keys is present
ok 6 Object.keys is not overridden
ok 7 Object.keys is returned
# when Object.keys is not present
not ok 8 Object.keys has been deleted
---
operator: notOk
expected: false
actual: [Function: keys]
...
not ok 9 Object.keys is overridden
---
operator: equal
expected: [Function: keys]
actual: [Function: keys]
...
not ok 10 shim is returned
---
operator: equal
expected: [Function: keys]
actual: [Function: keys]
...
# working with actual shim
ok 11 keys shim is not native Object.keys
# works with an object literal
ok 12 returns an array
ok 13 Object has expected keys
# works with an arguments object
ok 14 arguments has length of 3
ok 15 returns keys of arguments
# works with a boxed primitive
ok 16 String object returns proper keys
ok 17 object string returns proper keys
ok 18 String object with extra properties returns proper keys
# works with an array
ok 19 returns an array
ok 20 Array has expected keys
# works with a function
ok 21 does not throw an error
ok 22 returns expected keys
# returns names which are own properties
ok 23 str should be returned
ok 24 obj should be returned
ok 25 arr should be returned
ok 26 bool should be returned
ok 27 num should be returned
ok 28 aNull should be returned
ok 29 undef should be returned
# returns names which are enumerable
ok 30 str is not enumerable
ok 31 obj is not enumerable
ok 32 arr is not enumerable
ok 33 bool is not enumerable
ok 34 num is not enumerable
ok 35 aNull is not enumerable
ok 36 undef is not enumerable
# throws an error for a non-object
ok 37 throws on a non-object
# works with an object instance
ok 38 returns an array
ok 39 Instance has expected keys
# works in iOS 5 mobile Safari
ok 40 has expected keys
# works in environments with the dontEnum bug (IE < 9)
ok 41 has expected keys
# shadowed properties
ok 42 troublesome shadowed properties are keys of object literals
1..42
# tests 42
# pass 39
# fail 3
TAP version 13
# is.arguments
ok 1 array is not arguments
ok 2 arguments is arguments
ok 3 sliced arguments is not arguments
ok 4 old-style arguments is arguments
# exports a "shim" function
ok 5 keys.shim is a function
# when Object.keys is present
ok 6 Object.keys is not overridden
ok 7 Object.keys is returned
# when Object.keys is not present
not ok 8 Object.keys has been deleted
---
operator: notOk
expected: false
actual: [Function: keys]
...
not ok 9 Object.keys is overridden
---
operator: equal
expected: [Function: keys]
actual: [Function: keys]
...
not ok 10 shim is returned
---
operator: equal
expected: [Function: keys]
actual: [Function: keys]
...
# working with actual shim
ok 11 keys shim is not native Object.keys
# works with an object literal
ok 12 returns an array
ok 13 Object has expected keys
# works with an arguments object
ok 14 arguments has length of 3
ok 15 returns keys of arguments
# works with a boxed primitive
ok 16 String object returns proper keys
ok 17 object string returns proper keys
ok 18 String object with extra properties returns proper keys
# works with an array
ok 19 returns an array
ok 20 Array has expected keys
# works with a function
ok 21 does not throw an error
ok 22 returns expected keys
# returns names which are own properties
ok 23 str should be returned
ok 24 obj should be returned
ok 25 arr should be returned
ok 26 bool should be returned
ok 27 num should be returned
ok 28 aNull should be returned
ok 29 undef should be returned
# returns names which are enumerable
ok 30 str is not enumerable
ok 31 obj is not enumerable
ok 32 arr is not enumerable
ok 33 bool is not enumerable
ok 34 num is not enumerable
ok 35 aNull is not enumerable
ok 36 undef is not enumerable
# throws an error for a non-object
ok 37 throws on a non-object
# works with an object instance
ok 38 returns an array
ok 39 Instance has expected keys
# works in iOS 5 mobile Safari
ok 40 has expected keys
# works in environments with the dontEnum bug (IE < 9)
ok 41 has expected keys
# shadowed properties
ok 42 troublesome shadowed properties are keys of object literals
1..42
# tests 42
# pass 39
# fail 3
TAP version 13
# is.arguments
ok 1 array is not arguments
ok 2 arguments is arguments
ok 3 sliced arguments is not arguments
ok 4 old-style arguments is arguments
# exports a "shim" function
ok 5 keys.shim is a function
# when Object.keys is present
ok 6 Object.keys is not overridden
ok 7 Object.keys is returned
# when Object.keys is not present
ok 8 Object.keys has been deleted
ok 9 Object.keys is overridden
ok 10 shim is returned
# working with actual shim
ok 11 keys shim is not native Object.keys
# works with an object literal
ok 12 returns an array
ok 13 Object has expected keys
# works with an arguments object
ok 14 arguments has length of 3
ok 15 returns keys of arguments
# works with a boxed primitive
ok 16 String object returns proper keys
ok 17 object string returns proper keys
ok 18 String object with extra properties returns proper keys
# works with an array
ok 19 returns an array
ok 20 Array has expected keys
# works with a function
ok 21 does not throw an error
ok 22 returns expected keys
# returns names which are own properties
ok 23 str should be returned
ok 24 obj should be returned
ok 25 arr should be returned
ok 26 bool should be returned
ok 27 num should be returned
ok 28 aNull should be returned
ok 29 undef should be returned
# returns names which are enumerable
ok 30 str is not enumerable
ok 31 obj is not enumerable
ok 32 arr is not enumerable
ok 33 bool is not enumerable
ok 34 num is not enumerable
ok 35 aNull is not enumerable
ok 36 undef is not enumerable
# throws an error for a non-object
ok 37 throws on a non-object
# works with an object instance
ok 38 returns an array
ok 39 Instance has expected keys
# works in iOS 5 mobile Safari
ok 40 has expected keys
# works in environments with the dontEnum bug (IE < 9)
ok 41 has expected keys
# shadowed properties
ok 42 troublesome shadowed properties are keys of object literals
1..42
# tests 42
# pass 42
# ok
TAP version 13
# is.arguments
ok 1 array is not arguments
ok 2 arguments is arguments
ok 3 sliced arguments is not arguments
ok 4 old-style arguments is arguments
# exports a "shim" function
ok 5 keys.shim is a function
# when Object.keys is present
ok 6 Object.keys is not overridden
ok 7 Object.keys is returned
# when Object.keys is not present
ok 8 Object.keys has been deleted
ok 9 Object.keys is overridden
ok 10 shim is returned
# working with actual shim
ok 11 keys shim is not native Object.keys
# works with an object literal
ok 12 returns an array
ok 13 Object has expected keys
# works with an arguments object
ok 14 arguments has length of 3
ok 15 returns keys of arguments
# works with a boxed primitive
ok 16 String object returns proper keys
ok 17 object string returns proper keys
ok 18 String object with extra properties returns proper keys
# works with an array
ok 19 returns an array
ok 20 Array has expected keys
# works with a function
ok 21 does not throw an error
ok 22 returns expected keys
# returns names which are own properties
ok 23 str should be returned
ok 24 obj should be returned
ok 25 arr should be returned
ok 26 bool should be returned
ok 27 num should be returned
ok 28 aNull should be returned
ok 29 undef should be returned
# returns names which are enumerable
ok 30 str is not enumerable
ok 31 obj is not enumerable
ok 32 arr is not enumerable
ok 33 bool is not enumerable
ok 34 num is not enumerable
ok 35 aNull is not enumerable
ok 36 undef is not enumerable
# throws an error for a non-object
ok 37 throws on a non-object
# works with an object instance
ok 38 returns an array
ok 39 Instance has expected keys
# works in iOS 5 mobile Safari
ok 40 has expected keys
# works in environments with the dontEnum bug (IE < 9)
ok 41 has expected keys
# shadowed properties
ok 42 troublesome shadowed properties are keys of object literals
1..42
# tests 42
# pass 42
# ok
TAP version 13
# is.arguments
ok 1 array is not arguments
ok 2 arguments is arguments
ok 3 sliced arguments is not arguments
ok 4 old-style arguments is arguments
# exports a "shim" function
ok 5 keys.shim is a function
# when Object.keys is present
ok 6 Object.keys is not overridden
ok 7 Object.keys is returned
# when Object.keys is not present
ok 8 Object.keys has been deleted
ok 9 Object.keys is overridden
ok 10 shim is returned
# working with actual shim
ok 11 keys shim is not native Object.keys
# works with an object literal
ok 12 returns an array
ok 13 Object has expected keys
# works with an arguments object
ok 14 arguments has length of 3
ok 15 returns keys of arguments
# works with a boxed primitive
ok 16 String object returns proper keys
ok 17 object string returns proper keys
ok 18 String object with extra properties returns proper keys
# works with an array
ok 19 returns an array
ok 20 Array has expected keys
# works with a function
ok 21 does not throw an error
ok 22 returns expected keys
# returns names which are own properties
ok 23 str should be returned
ok 24 obj should be returned
ok 25 arr should be returned
ok 26 bool should be returned
ok 27 num should be returned
ok 28 aNull should be returned
ok 29 undef should be returned
# returns names which are enumerable
ok 30 str is not enumerable
ok 31 obj is not enumerable
ok 32 arr is not enumerable
ok 33 bool is not enumerable
ok 34 num is not enumerable
ok 35 aNull is not enumerable
ok 36 undef is not enumerable
# throws an error for a non-object
ok 37 throws on a non-object
# works with an object instance
ok 38 returns an array
ok 39 Instance has expected keys
# works in iOS 5 mobile Safari
ok 40 has expected keys
# works in environments with the dontEnum bug (IE < 9)
ok 41 has expected keys
# shadowed properties
ok 42 troublesome shadowed properties are keys of object literals
1..42
# tests 42
# pass 42
# ok
TAP version 13
# is.arguments
ok 1 array is not arguments
ok 2 arguments is arguments
ok 3 sliced arguments is not arguments
ok 4 old-style arguments is arguments
# exports a "shim" function
ok 5 keys.shim is a function
# when Object.keys is present
ok 6 Object.keys is not overridden
ok 7 Object.keys is returned
# when Object.keys is not present
ok 8 Object.keys has been deleted
ok 9 Object.keys is overridden
ok 10 shim is returned
# working with actual shim
ok 11 keys shim is not native Object.keys
# works with an object literal
ok 12 returns an array
ok 13 Object has expected keys
# works with an arguments object
ok 14 arguments has length of 3
ok 15 returns keys of arguments
# works with a boxed primitive
ok 16 String object returns proper keys
ok 17 object string returns proper keys
ok 18 String object with extra properties returns proper keys
# works with an array
ok 19 returns an array
ok 20 Array has expected keys
# works with a function
ok 21 does not throw an error
ok 22 returns expected keys
# returns names which are own properties
ok 23 str should be returned
ok 24 obj should be returned
ok 25 arr should be returned
ok 26 bool should be returned
ok 27 num should be returned
ok 28 aNull should be returned
ok 29 undef should be returned
# returns names which are enumerable
ok 30 str is not enumerable
ok 31 obj is not enumerable
ok 32 arr is not enumerable
ok 33 bool is not enumerable
ok 34 num is not enumerable
ok 35 aNull is not enumerable
ok 36 undef is not enumerable
# throws an error for a non-object
ok 37 throws on a non-object
# works with an object instance
ok 38 returns an array
ok 39 Instance has expected keys
# works in iOS 5 mobile Safari
ok 40 has expected keys
# works in environments with the dontEnum bug (IE < 9)
ok 41 has expected keys
# shadowed properties
ok 42 troublesome shadowed properties are keys of object literals
1..42
# tests 42
# pass 42
# ok
TAP version 13
# is.arguments
ok 1 array is not arguments
ok 2 arguments is arguments
ok 3 sliced arguments is not arguments
ok 4 old-style arguments is arguments
# exports a "shim" function
ok 5 keys.shim is a function
# when Object.keys is present
ok 6 Object.keys is not overridden
ok 7 Object.keys is returned
# when Object.keys is not present
ok 8 Object.keys has been deleted
ok 9 Object.keys is overridden
ok 10 shim is returned
# working with actual shim
ok 11 keys shim is not native Object.keys
# works with an object literal
ok 12 returns an array
ok 13 Object has expected keys
# works with an arguments object
ok 14 arguments has length of 3
ok 15 returns keys of arguments
# works with a boxed primitive
ok 16 String object returns proper keys
ok 17 object string returns proper keys
ok 18 String object with extra properties returns proper keys
# works with an array
ok 19 returns an array
ok 20 Array has expected keys
# works with a function
ok 21 does not throw an error
ok 22 returns expected keys
# returns names which are own properties
ok 23 str should be returned
ok 24 obj should be returned
ok 25 arr should be returned
ok 26 bool should be returned
ok 27 num should be returned
ok 28 aNull should be returned
ok 29 undef should be returned
# returns names which are enumerable
ok 30 str is not enumerable
ok 31 obj is not enumerable
ok 32 arr is not enumerable
ok 33 bool is not enumerable
ok 34 num is not enumerable
ok 35 aNull is not enumerable
ok 36 undef is not enumerable
# throws an error for a non-object
ok 37 throws on a non-object
# works with an object instance
ok 38 returns an array
ok 39 Instance has expected keys
# works in iOS 5 mobile Safari
ok 40 has expected keys
# works in environments with the dontEnum bug (IE < 9)
ok 41 has expected keys
# shadowed properties
ok 42 troublesome shadowed properties are keys of object literals
1..42
# tests 42
# pass 42
# ok
TAP version 13
# is.arguments
ok 1 array is not arguments
ok 2 arguments is arguments
ok 3 sliced arguments is not arguments
ok 4 old-style arguments is arguments
# exports a "shim" function
ok 5 keys.shim is a function
# when Object.keys is present
ok 6 Object.keys is not overridden
ok 7 Object.keys is returned
# when Object.keys is not present
ok 8 Object.keys has been deleted
ok 9 Object.keys is overridden
ok 10 shim is returned
# working with actual shim
ok 11 keys shim is not native Object.keys
# works with an object literal
ok 12 returns an array
ok 13 Object has expected keys
# works with an arguments object
ok 14 arguments has length of 3
ok 15 returns keys of arguments
# works with a boxed primitive
ok 16 String object returns proper keys
ok 17 object string returns proper keys
ok 18 String object with extra properties returns proper keys
# works with an array
ok 19 returns an array
ok 20 Array has expected keys
# works with a function
ok 21 does not throw an error
ok 22 returns expected keys
# returns names which are own properties
ok 23 str should be returned
ok 24 obj should be returned
ok 25 arr should be returned
ok 26 bool should be returned
ok 27 num should be returned
ok 28 aNull should be returned
ok 29 undef should be returned
# returns names which are enumerable
ok 30 str is not enumerable
ok 31 obj is not enumerable
ok 32 arr is not enumerable
ok 33 bool is not enumerable
ok 34 num is not enumerable
ok 35 aNull is not enumerable
ok 36 undef is not enumerable
# throws an error for a non-object
ok 37 throws on a non-object
# works with an object instance
ok 38 returns an array
ok 39 Instance has expected keys
# works in iOS 5 mobile Safari
ok 40 has expected keys
# works in environments with the dontEnum bug (IE < 9)
ok 41 has expected keys
# shadowed properties
ok 42 troublesome shadowed properties are keys of object literals
1..42
# tests 42
# pass 42
# ok
TAP version 13
# is.arguments
ok 1 array is not arguments
ok 2 arguments is arguments
ok 3 sliced arguments is not arguments
ok 4 old-style arguments is arguments
# exports a "shim" function
ok 5 keys.shim is a function
# when Object.keys is present
ok 6 Object.keys is not overridden
ok 7 Object.keys is returned
# when Object.keys is not present
ok 8 Object.keys has been deleted
ok 9 Object.keys is overridden
ok 10 shim is returned
# working with actual shim
ok 11 keys shim is not native Object.keys
# works with an object literal
ok 12 returns an array
ok 13 Object has expected keys
# works with an arguments object
ok 14 arguments has length of 3
ok 15 returns keys of arguments
# works with a boxed primitive
ok 16 String object returns proper keys
ok 17 object string returns proper keys
ok 18 String object with extra properties returns proper keys
# works with an array
ok 19 returns an array
ok 20 Array has expected keys
# works with a function
ok 21 does not throw an error
ok 22 returns expected keys
# returns names which are own properties
ok 23 str should be returned
ok 24 obj should be returned
ok 25 arr should be returned
ok 26 bool should be returned
ok 27 num should be returned
ok 28 aNull should be returned
ok 29 undef should be returned
# returns names which are enumerable
ok 30 str is not enumerable
ok 31 obj is not enumerable
ok 32 arr is not enumerable
ok 33 bool is not enumerable
ok 34 num is not enumerable
ok 35 aNull is not enumerable
ok 36 undef is not enumerable
# throws an error for a non-object
ok 37 throws on a non-object
# works with an object instance
ok 38 returns an array
ok 39 Instance has expected keys
# works in iOS 5 mobile Safari
ok 40 has expected keys
# works in environments with the dontEnum bug (IE < 9)
ok 41 has expected keys
# shadowed properties
ok 42 troublesome shadowed properties are keys of object literals
1..42
# tests 42
# pass 42
# ok
TAP version 13
# is.arguments
ok 1 array is not arguments
ok 2 arguments is arguments
ok 3 sliced arguments is not arguments
ok 4 old-style arguments is arguments
# exports a "shim" function
ok 5 keys.shim is a function
# when Object.keys is present
ok 6 Object.keys is not overridden
ok 7 Object.keys is returned
# when Object.keys is not present
ok 8 Object.keys has been deleted
ok 9 Object.keys is overridden
ok 10 shim is returned
# working with actual shim
ok 11 keys shim is not native Object.keys
# works with an object literal
ok 12 returns an array
ok 13 Object has expected keys
# works with an arguments object
ok 14 arguments has length of 3
ok 15 returns keys of arguments
# works with a boxed primitive
ok 16 String object returns proper keys
ok 17 object string returns proper keys
ok 18 String object with extra properties returns proper keys
# works with an array
ok 19 returns an array
ok 20 Array has expected keys
# works with a function
ok 21 does not throw an error
ok 22 returns expected keys
# returns names which are own properties
ok 23 str should be returned
ok 24 obj should be returned
ok 25 arr should be returned
ok 26 bool should be returned
ok 27 num should be returned
ok 28 aNull should be returned
ok 29 undef should be returned
# returns names which are enumerable
ok 30 str is not enumerable
ok 31 obj is not enumerable
ok 32 arr is not enumerable
ok 33 bool is not enumerable
ok 34 num is not enumerable
ok 35 aNull is not enumerable
ok 36 undef is not enumerable
# throws an error for a non-object
ok 37 throws on a non-object
# works with an object instance
ok 38 returns an array
ok 39 Instance has expected keys
# works in iOS 5 mobile Safari
ok 40 has expected keys
# works in environments with the dontEnum bug (IE < 9)
ok 41 has expected keys
# shadowed properties
ok 42 troublesome shadowed properties are keys of object literals
1..42
# tests 42
# pass 42
# ok
TAP version 13
# is.arguments
ok 1 array is not arguments
ok 2 arguments is arguments
ok 3 sliced arguments is not arguments
ok 4 old-style arguments is arguments
# exports a "shim" function
ok 5 keys.shim is a function
# when Object.keys is present
ok 6 Object.keys is not overridden
ok 7 Object.keys is returned
# when Object.keys is not present
ok 8 Object.keys has been deleted
ok 9 Object.keys is overridden
ok 10 shim is returned
# working with actual shim
ok 11 keys shim is not native Object.keys
# works with an object literal
ok 12 returns an array
ok 13 Object has expected keys
# works with an arguments object
ok 14 arguments has length of 3
ok 15 returns keys of arguments
# works with a boxed primitive
ok 16 String object returns proper keys
ok 17 object string returns proper keys
ok 18 String object with extra properties returns proper keys
# works with an array
ok 19 returns an array
ok 20 Array has expected keys
# works with a function
ok 21 does not throw an error
ok 22 returns expected keys
# returns names which are own properties
ok 23 str should be returned
ok 24 obj should be returned
ok 25 arr should be returned
ok 26 bool should be returned
ok 27 num should be returned
ok 28 aNull should be returned
ok 29 undef should be returned
# returns names which are enumerable
ok 30 str is not enumerable
ok 31 obj is not enumerable
ok 32 arr is not enumerable
ok 33 bool is not enumerable
ok 34 num is not enumerable
ok 35 aNull is not enumerable
ok 36 undef is not enumerable
# throws an error for a non-object
ok 37 throws on a non-object
# works with an object instance
ok 38 returns an array
ok 39 Instance has expected keys
# works in iOS 5 mobile Safari
ok 40 has expected keys
# works in environments with the dontEnum bug (IE < 9)
ok 41 has expected keys
# shadowed properties
ok 42 troublesome shadowed properties are keys of object literals
1..42
# tests 42
# pass 42
# ok
TAP version 13
# is.arguments
ok 1 array is not arguments
ok 2 arguments is arguments
ok 3 sliced arguments is not arguments
ok 4 old-style arguments is arguments
# exports a "shim" function
ok 5 keys.shim is a function
# when Object.keys is present
ok 6 Object.keys is not overridden
ok 7 Object.keys is returned
# when Object.keys is not present
ok 8 Object.keys has been deleted
ok 9 Object.keys is overridden
ok 10 shim is returned
# working with actual shim
ok 11 keys shim is not native Object.keys
# works with an object literal
ok 12 returns an array
ok 13 Object has expected keys
# works with an arguments object
ok 14 arguments has length of 3
ok 15 returns keys of arguments
# works with a boxed primitive
ok 16 String object returns proper keys
ok 17 object string returns proper keys
ok 18 String object with extra properties returns proper keys
# works with an array
ok 19 returns an array
ok 20 Array has expected keys
# works with a function
ok 21 does not throw an error
ok 22 returns expected keys
# returns names which are own properties
ok 23 str should be returned
ok 24 obj should be returned
ok 25 arr should be returned
ok 26 bool should be returned
ok 27 num should be returned
ok 28 aNull should be returned
ok 29 undef should be returned
# returns names which are enumerable
ok 30 str is not enumerable
ok 31 obj is not enumerable
ok 32 arr is not enumerable
ok 33 bool is not enumerable
ok 34 num is not enumerable
ok 35 aNull is not enumerable
ok 36 undef is not enumerable
# throws an error for a non-object
ok 37 throws on a non-object
# works with an object instance
ok 38 returns an array
ok 39 Instance has expected keys
# works in iOS 5 mobile Safari
ok 40 has expected keys
# works in environments with the dontEnum bug (IE < 9)
ok 41 has expected keys
# shadowed properties
ok 42 troublesome shadowed properties are keys of object literals
1..42
# tests 42
# pass 42
# ok
TAP version 13
# is.arguments
ok 1 array is not arguments
ok 2 arguments is arguments
ok 3 sliced arguments is not arguments
ok 4 old-style arguments is arguments
# exports a "shim" function
ok 5 keys.shim is a function
# when Object.keys is present
ok 6 Object.keys is not overridden
ok 7 Object.keys is returned
# when Object.keys is not present
ok 8 Object.keys has been deleted
ok 9 Object.keys is overridden
ok 10 shim is returned
# working with actual shim
ok 11 keys shim is not native Object.keys
# works with an object literal
ok 12 returns an array
ok 13 Object has expected keys
# works with an arguments object
ok 14 arguments has length of 3
ok 15 returns keys of arguments
# works with a boxed primitive
ok 16 String object returns proper keys
ok 17 object string returns proper keys
ok 18 String object with extra properties returns proper keys
# works with an array
ok 19 returns an array
ok 20 Array has expected keys
# works with a function
ok 21 does not throw an error
ok 22 returns expected keys
# returns names which are own properties
ok 23 str should be returned
ok 24 obj should be returned
ok 25 arr should be returned
ok 26 bool should be returned
ok 27 num should be returned
ok 28 aNull should be returned
ok 29 undef should be returned
# returns names which are enumerable
ok 30 str is not enumerable
ok 31 obj is not enumerable
ok 32 arr is not enumerable
ok 33 bool is not enumerable
ok 34 num is not enumerable
ok 35 aNull is not enumerable
ok 36 undef is not enumerable
# throws an error for a non-object
ok 37 throws on a non-object
# works with an object instance
ok 38 returns an array
ok 39 Instance has expected keys
# works in iOS 5 mobile Safari
ok 40 has expected keys
# works in environments with the dontEnum bug (IE < 9)
ok 41 has expected keys
# shadowed properties
ok 42 troublesome shadowed properties are keys of object literals
1..42
# tests 42
# pass 42
# ok
TAP version 13
# is.arguments
ok 1 array is not arguments
ok 2 arguments is arguments
ok 3 sliced arguments is not arguments
ok 4 old-style arguments is arguments
# exports a "shim" function
ok 5 keys.shim is a function
# when Object.keys is present
ok 6 Object.keys is not overridden
ok 7 Object.keys is returned
# when Object.keys is not present
ok 8 Object.keys has been deleted
ok 9 Object.keys is overridden
ok 10 shim is returned
# working with actual shim
ok 11 keys shim is not native Object.keys
# works with an object literal
ok 12 returns an array
ok 13 Object has expected keys
# works with an arguments object
ok 14 arguments has length of 3
ok 15 returns keys of arguments
# works with a boxed primitive
ok 16 String object returns proper keys
ok 17 object string returns proper keys
ok 18 String object with extra properties returns proper keys
# works with an array
ok 19 returns an array
ok 20 Array has expected keys
# works with a function
ok 21 does not throw an error
ok 22 returns expected keys
# returns names which are own properties
ok 23 str should be returned
ok 24 obj should be returned
ok 25 arr should be returned
ok 26 bool should be returned
ok 27 num should be returned
ok 28 aNull should be returned
ok 29 undef should be returned
# returns names which are enumerable
ok 30 str is not enumerable
ok 31 obj is not enumerable
ok 32 arr is not enumerable
ok 33 bool is not enumerable
ok 34 num is not enumerable
ok 35 aNull is not enumerable
ok 36 undef is not enumerable
# throws an error for a non-object
ok 37 throws on a non-object
# works with an object instance
ok 38 returns an array
ok 39 Instance has expected keys
# works in iOS 5 mobile Safari
ok 40 has expected keys
# works in environments with the dontEnum bug (IE < 9)
ok 41 has expected keys
# shadowed properties
ok 42 troublesome shadowed properties are keys of object literals
1..42
# tests 42
# pass 42
# ok
TAP version 13
# is.arguments
ok 1 array is not arguments
ok 2 arguments is arguments
ok 3 sliced arguments is not arguments
ok 4 old-style arguments is arguments
# exports a "shim" function
ok 5 keys.shim is a function
# when Object.keys is present
ok 6 Object.keys is not overridden
ok 7 Object.keys is returned
# when Object.keys is not present
ok 8 Object.keys has been deleted
ok 9 Object.keys is overridden
ok 10 shim is returned
# working with actual shim
ok 11 keys shim is not native Object.keys
# works with an object literal
ok 12 returns an array
ok 13 Object has expected keys
# works with an arguments object
ok 14 arguments has length of 3
ok 15 returns keys of arguments
# works with a boxed primitive
ok 16 String object returns proper keys
ok 17 object string returns proper keys
ok 18 String object with extra properties returns proper keys
# works with an array
ok 19 returns an array
ok 20 Array has expected keys
# works with a function
ok 21 does not throw an error
ok 22 returns expected keys
# returns names which are own properties
ok 23 str should be returned
ok 24 obj should be returned
ok 25 arr should be returned
ok 26 bool should be returned
ok 27 num should be returned
ok 28 aNull should be returned
ok 29 undef should be returned
# returns names which are enumerable
ok 30 str is not enumerable
ok 31 obj is not enumerable
ok 32 arr is not enumerable
ok 33 bool is not enumerable
ok 34 num is not enumerable
ok 35 aNull is not enumerable
ok 36 undef is not enumerable
# throws an error for a non-object
ok 37 throws on a non-object
# works with an object instance
ok 38 returns an array
ok 39 Instance has expected keys
# works in iOS 5 mobile Safari
ok 40 has expected keys
# works in environments with the dontEnum bug (IE < 9)
ok 41 has expected keys
# shadowed properties
ok 42 troublesome shadowed properties are keys of object literals
1..42
# tests 42
# pass 42
# ok
TAP version 13
# is.arguments
ok 1 array is not arguments
ok 2 arguments is arguments
ok 3 sliced arguments is not arguments
ok 4 old-style arguments is arguments
# exports a "shim" function
ok 5 keys.shim is a function
# when Object.keys is present
ok 6 Object.keys is not overridden
ok 7 Object.keys is returned
# when Object.keys is not present
ok 8 Object.keys has been deleted
ok 9 Object.keys is overridden
ok 10 shim is returned
# working with actual shim
ok 11 keys shim is not native Object.keys
# works with an object literal
ok 12 returns an array
ok 13 Object has expected keys
# works with an arguments object
ok 14 arguments has length of 3
ok 15 returns keys of arguments
# works with a boxed primitive
ok 16 String object returns proper keys
ok 17 object string returns proper keys
ok 18 String object with extra properties returns proper keys
# works with an array
ok 19 returns an array
ok 20 Array has expected keys
# works with a function
ok 21 does not throw an error
ok 22 returns expected keys
# returns names which are own properties
ok 23 str should be returned
ok 24 obj should be returned
ok 25 arr should be returned
ok 26 bool should be returned
ok 27 num should be returned
ok 28 aNull should be returned
ok 29 undef should be returned
# returns names which are enumerable
ok 30 str is not enumerable
ok 31 obj is not enumerable
ok 32 arr is not enumerable
ok 33 bool is not enumerable
ok 34 num is not enumerable
ok 35 aNull is not enumerable
ok 36 undef is not enumerable
# throws an error for a non-object
ok 37 throws on a non-object
# works with an object instance
ok 38 returns an array
ok 39 Instance has expected keys
# works in iOS 5 mobile Safari
ok 40 has expected keys
# works in environments with the dontEnum bug (IE < 9)
ok 41 has expected keys
# shadowed properties
ok 42 troublesome shadowed properties are keys of object literals
1..42
# tests 42
# pass 42
# ok
TAP version 13
# is.arguments
ok 1 array is not arguments
ok 2 arguments is arguments
ok 3 sliced arguments is not arguments
ok 4 old-style arguments is arguments
# exports a "shim" function
ok 5 keys.shim is a function
# when Object.keys is present
ok 6 Object.keys is not overridden
ok 7 Object.keys is returned
# when Object.keys is not present
ok 8 Object.keys has been deleted
ok 9 Object.keys is overridden
ok 10 shim is returned
# working with actual shim
ok 11 keys shim is not native Object.keys
# works with an object literal
ok 12 returns an array
ok 13 Object has expected keys
# works with an arguments object
ok 14 arguments has length of 3
ok 15 returns keys of arguments
# works with a boxed primitive
ok 16 String object returns proper keys
ok 17 object string returns proper keys
ok 18 String object with extra properties returns proper keys
# works with an array
ok 19 returns an array
ok 20 Array has expected keys
# works with a function
ok 21 does not throw an error
ok 22 returns expected keys
# returns names which are own properties
ok 23 str should be returned
ok 24 obj should be returned
ok 25 arr should be returned
ok 26 bool should be returned
ok 27 num should be returned
ok 28 aNull should be returned
ok 29 undef should be returned
# returns names which are enumerable
ok 30 str is not enumerable
ok 31 obj is not enumerable
ok 32 arr is not enumerable
ok 33 bool is not enumerable
ok 34 num is not enumerable
ok 35 aNull is not enumerable
ok 36 undef is not enumerable
# throws an error for a non-object
ok 37 throws on a non-object
# works with an object instance
ok 38 returns an array
ok 39 Instance has expected keys
# works in iOS 5 mobile Safari
ok 40 has expected keys
# works in environments with the dontEnum bug (IE < 9)
ok 41 has expected keys
# shadowed properties
ok 42 troublesome shadowed properties are keys of object literals
1..42
# tests 42
# pass 42
# ok
TAP version 13
# is.arguments
ok 1 array is not arguments
ok 2 arguments is arguments
ok 3 sliced arguments is not arguments
ok 4 old-style arguments is arguments
# exports a "shim" function
ok 5 keys.shim is a function
# when Object.keys is present
ok 6 Object.keys is not overridden
ok 7 Object.keys is returned
# when Object.keys is not present
ok 8 Object.keys has been deleted
ok 9 Object.keys is overridden
ok 10 shim is returned
# working with actual shim
ok 11 keys shim is not native Object.keys
# works with an object literal
ok 12 returns an array
ok 13 Object has expected keys
# works with an arguments object
ok 14 arguments has length of 3
ok 15 returns keys of arguments
# works with a boxed primitive
ok 16 String object returns proper keys
ok 17 object string returns proper keys
ok 18 String object with extra properties returns proper keys
# works with an array
ok 19 returns an array
ok 20 Array has expected keys
# works with a function
ok 21 does not throw an error
ok 22 returns expected keys
# returns names which are own properties
ok 23 str should be returned
ok 24 obj should be returned
ok 25 arr should be returned
ok 26 bool should be returned
ok 27 num should be returned
ok 28 aNull should be returned
ok 29 undef should be returned
# returns names which are enumerable
ok 30 str is not enumerable
ok 31 obj is not enumerable
ok 32 arr is not enumerable
ok 33 bool is not enumerable
ok 34 num is not enumerable
ok 35 aNull is not enumerable
ok 36 undef is not enumerable
# throws an error for a non-object
ok 37 throws on a non-object
# works with an object instance
ok 38 returns an array
ok 39 Instance has expected keys
# works in iOS 5 mobile Safari
ok 40 has expected keys
# works in environments with the dontEnum bug (IE < 9)
ok 41 has expected keys
# shadowed properties
ok 42 troublesome shadowed properties are keys of object literals
1..42
# tests 42
# pass 42
# ok
TAP version 13
# is.arguments
ok 1 array is not arguments
ok 2 arguments is arguments
ok 3 sliced arguments is not arguments
ok 4 old-style arguments is arguments
# exports a "shim" function
ok 5 keys.shim is a function
# when Object.keys is present
ok 6 Object.keys is not overridden
ok 7 Object.keys is returned
# when Object.keys is not present
ok 8 Object.keys has been deleted
ok 9 Object.keys is overridden
ok 10 shim is returned
# working with actual shim
ok 11 keys shim is not native Object.keys
# works with an object literal
ok 12 returns an array
ok 13 Object has expected keys
# works with an arguments object
ok 14 arguments has length of 3
ok 15 returns keys of arguments
# works with a boxed primitive
ok 16 String object returns proper keys
ok 17 object string returns proper keys
ok 18 String object with extra properties returns proper keys
# works with an array
ok 19 returns an array
ok 20 Array has expected keys
# works with a function
ok 21 does not throw an error
ok 22 returns expected keys
# returns names which are own properties
ok 23 str should be returned
ok 24 obj should be returned
ok 25 arr should be returned
ok 26 bool should be returned
ok 27 num should be returned
ok 28 aNull should be returned
ok 29 undef should be returned
# returns names which are enumerable
ok 30 str is not enumerable
ok 31 obj is not enumerable
ok 32 arr is not enumerable
ok 33 bool is not enumerable
ok 34 num is not enumerable
ok 35 aNull is not enumerable
ok 36 undef is not enumerable
# throws an error for a non-object
ok 37 throws on a non-object
# works with an object instance
ok 38 returns an array
ok 39 Instance has expected keys
# works in iOS 5 mobile Safari
ok 40 has expected keys
# works in environments with the dontEnum bug (IE < 9)
ok 41 has expected keys
# shadowed properties
ok 42 troublesome shadowed properties are keys of object literals
1..42
# tests 42
# pass 42
# ok
TAP version 13
# is.arguments
ok 1 array is not arguments
ok 2 arguments is arguments
ok 3 sliced arguments is not arguments
ok 4 old-style arguments is arguments
# exports a "shim" function
ok 5 keys.shim is a function
# when Object.keys is present
ok 6 Object.keys is not overridden
ok 7 Object.keys is returned
# when Object.keys is not present
ok 8 Object.keys has been deleted
ok 9 Object.keys is overridden
ok 10 shim is returned
# working with actual shim
ok 11 keys shim is not native Object.keys
# works with an object literal
ok 12 returns an array
ok 13 Object has expected keys
# works with an arguments object
ok 14 arguments has length of 3
ok 15 returns keys of arguments
# works with a boxed primitive
ok 16 String object returns proper keys
ok 17 object string returns proper keys
ok 18 String object with extra properties returns proper keys
# works with an array
ok 19 returns an array
ok 20 Array has expected keys
# works with a function
ok 21 does not throw an error
ok 22 returns expected keys
# returns names which are own properties
ok 23 str should be returned
ok 24 obj should be returned
ok 25 arr should be returned
ok 26 bool should be returned
ok 27 num should be returned
ok 28 aNull should be returned
ok 29 undef should be returned
# returns names which are enumerable
ok 30 str is not enumerable
ok 31 obj is not enumerable
ok 32 arr is not enumerable
ok 33 bool is not enumerable
ok 34 num is not enumerable
ok 35 aNull is not enumerable
ok 36 undef is not enumerable
# throws an error for a non-object
ok 37 throws on a non-object
# works with an object instance
ok 38 returns an array
ok 39 Instance has expected keys
# works in iOS 5 mobile Safari
ok 40 has expected keys
# works in environments with the dontEnum bug (IE < 9)
ok 41 has expected keys
# shadowed properties
ok 42 troublesome shadowed properties are keys of object literals
1..42
# tests 42
# pass 42
# ok
TAP version 13
# is.arguments
ok 1 array is not arguments
ok 2 arguments is arguments
ok 3 sliced arguments is not arguments
ok 4 old-style arguments is arguments
# exports a "shim" function
ok 5 keys.shim is a function
# when Object.keys is present
ok 6 Object.keys is not overridden
ok 7 Object.keys is returned
# when Object.keys is not present
ok 8 Object.keys has been deleted
ok 9 Object.keys is overridden
ok 10 shim is returned
# working with actual shim
ok 11 keys shim is not native Object.keys
# works with an object literal
ok 12 returns an array
ok 13 Object has expected keys
# works with an arguments object
ok 14 arguments has length of 3
ok 15 returns keys of arguments
# works with a boxed primitive
ok 16 String object returns proper keys
ok 17 object string returns proper keys
ok 18 String object with extra properties returns proper keys
# works with an array
ok 19 returns an array
ok 20 Array has expected keys
# works with a function
ok 21 does not throw an error
ok 22 returns expected keys
# returns names which are own properties
ok 23 str should be returned
ok 24 obj should be returned
ok 25 arr should be returned
ok 26 bool should be returned
ok 27 num should be returned
ok 28 aNull should be returned
ok 29 undef should be returned
# returns names which are enumerable
ok 30 str is not enumerable
ok 31 obj is not enumerable
ok 32 arr is not enumerable
ok 33 bool is not enumerable
ok 34 num is not enumerable
ok 35 aNull is not enumerable
ok 36 undef is not enumerable
# throws an error for a non-object
ok 37 throws on a non-object
# works with an object instance
ok 38 returns an array
ok 39 Instance has expected keys
# works in iOS 5 mobile Safari
ok 40 has expected keys
# works in environments with the dontEnum bug (IE < 9)
ok 41 has expected keys
# shadowed properties
ok 42 troublesome shadowed properties are keys of object literals
1..42
# tests 42
# pass 42
# ok
TAP version 13
# is.arguments
ok 1 array is not arguments
ok 2 arguments is arguments
ok 3 sliced arguments is not arguments
ok 4 old-style arguments is arguments
# exports a "shim" function
ok 5 keys.shim is a function
# when Object.keys is present
ok 6 Object.keys is not overridden
ok 7 Object.keys is returned
# when Object.keys is not present
ok 8 Object.keys has been deleted
ok 9 Object.keys is overridden
ok 10 shim is returned
# working with actual shim
ok 11 keys shim is not native Object.keys
# works with an object literal
ok 12 returns an array
ok 13 Object has expected keys
# works with an arguments object
ok 14 arguments has length of 3
ok 15 returns keys of arguments
# works with a boxed primitive
ok 16 String object returns proper keys
ok 17 object string returns proper keys
ok 18 String object with extra properties returns proper keys
# works with an array
ok 19 returns an array
ok 20 Array has expected keys
# works with a function
ok 21 does not throw an error
ok 22 returns expected keys
# returns names which are own properties
ok 23 str should be returned
ok 24 obj should be returned
ok 25 arr should be returned
ok 26 bool should be returned
ok 27 num should be returned
ok 28 aNull should be returned
ok 29 undef should be returned
# returns names which are enumerable
ok 30 str is not enumerable
ok 31 obj is not enumerable
ok 32 arr is not enumerable
ok 33 bool is not enumerable
ok 34 num is not enumerable
ok 35 aNull is not enumerable
ok 36 undef is not enumerable
# throws an error for a non-object
ok 37 throws on a non-object
# works with an object instance
ok 38 returns an array
ok 39 Instance has expected keys
# works in iOS 5 mobile Safari
ok 40 has expected keys
# works in environments with the dontEnum bug (IE < 9)
ok 41 has expected keys
# shadowed properties
ok 42 troublesome shadowed properties are keys of object literals
1..42
# tests 42
# pass 42
# ok
TAP version 13
# is.arguments
ok 1 array is not arguments
ok 2 arguments is arguments
ok 3 sliced arguments is not arguments
ok 4 old-style arguments is arguments
# exports a "shim" function
ok 5 keys.shim is a function
# when Object.keys is present
ok 6 Object.keys is not overridden
ok 7 Object.keys is returned
# when Object.keys is not present
ok 8 Object.keys has been deleted
ok 9 Object.keys is overridden
ok 10 shim is returned
# working with actual shim
ok 11 keys shim is not native Object.keys
# works with an object literal
ok 12 returns an array
ok 13 Object has expected keys
# works with an arguments object
ok 14 arguments has length of 3
ok 15 returns keys of arguments
# works with a boxed primitive
ok 16 String object returns proper keys
ok 17 object string returns proper keys
ok 18 String object with extra properties returns proper keys
# works with an array
ok 19 returns an array
ok 20 Array has expected keys
# works with a function
ok 21 does not throw an error
ok 22 returns expected keys
# returns names which are own properties
ok 23 str should be returned
ok 24 obj should be returned
ok 25 arr should be returned
ok 26 bool should be returned
ok 27 num should be returned
ok 28 aNull should be returned
ok 29 undef should be returned
# returns names which are enumerable
ok 30 str is not enumerable
ok 31 obj is not enumerable
ok 32 arr is not enumerable
ok 33 bool is not enumerable
ok 34 num is not enumerable
ok 35 aNull is not enumerable
ok 36 undef is not enumerable
# throws an error for a non-object
ok 37 throws on a non-object
# works with an object instance
ok 38 returns an array
ok 39 Instance has expected keys
# works in iOS 5 mobile Safari
ok 40 has expected keys
# works in environments with the dontEnum bug (IE < 9)
ok 41 has expected keys
# shadowed properties
ok 42 troublesome shadowed properties are keys of object literals
1..42
# tests 42
# pass 42
# ok
TAP version 13
# is.arguments
ok 1 array is not arguments
ok 2 arguments is arguments
ok 3 sliced arguments is not arguments
ok 4 old-style arguments is arguments
# exports a "shim" function
ok 5 keys.shim is a function
# when Object.keys is present
ok 6 Object.keys is not overridden
ok 7 Object.keys is returned
# when Object.keys is not present
ok 8 Object.keys has been deleted
ok 9 Object.keys is overridden
ok 10 shim is returned
# working with actual shim
ok 11 keys shim is not native Object.keys
# works with an object literal
ok 12 returns an array
ok 13 Object has expected keys
# works with an arguments object
ok 14 arguments has length of 3
ok 15 returns keys of arguments
# works with a boxed primitive
ok 16 String object returns proper keys
ok 17 object string returns proper keys
ok 18 String object with extra properties returns proper keys
# works with an array
ok 19 returns an array
ok 20 Array has expected keys
# works with a function
ok 21 does not throw an error
ok 22 returns expected keys
# returns names which are own properties
ok 23 str should be returned
ok 24 obj should be returned
ok 25 arr should be returned
ok 26 bool should be returned
ok 27 num should be returned
ok 28 aNull should be returned
ok 29 undef should be returned
# returns names which are enumerable
ok 30 str is not enumerable
ok 31 obj is not enumerable
ok 32 arr is not enumerable
ok 33 bool is not enumerable
ok 34 num is not enumerable
ok 35 aNull is not enumerable
ok 36 undef is not enumerable
# throws an error for a non-object
ok 37 throws on a non-object
# works with an object instance
ok 38 returns an array
ok 39 Instance has expected keys
# works in iOS 5 mobile Safari
ok 40 has expected keys
# works in environments with the dontEnum bug (IE < 9)
ok 41 has expected keys
# shadowed properties
ok 42 troublesome shadowed properties are keys of object literals
1..42
# tests 42
# pass 42
# ok
TAP version 13
# is.arguments
ok 1 array is not arguments
ok 2 arguments is arguments
ok 3 sliced arguments is not arguments
ok 4 old-style arguments is arguments
# exports a "shim" function
ok 5 keys.shim is a function
# when Object.keys is present
ok 6 Object.keys is not overridden
ok 7 Object.keys is returned
# when Object.keys is not present
ok 8 Object.keys has been deleted
ok 9 Object.keys is overridden
ok 10 shim is returned
# working with actual shim
ok 11 keys shim is not native Object.keys
# works with an object literal
ok 12 returns an array
ok 13 Object has expected keys
# works with an arguments object
ok 14 arguments has length of 3
ok 15 returns keys of arguments
# works with a boxed primitive
ok 16 String object returns proper keys
ok 17 object string returns proper keys
ok 18 String object with extra properties returns proper keys
# works with an array
ok 19 returns an array
ok 20 Array has expected keys
# works with a function
ok 21 does not throw an error
ok 22 returns expected keys
# returns names which are own properties
ok 23 str should be returned
ok 24 obj should be returned
ok 25 arr should be returned
ok 26 bool should be returned
ok 27 num should be returned
ok 28 aNull should be returned
ok 29 undef should be returned
# returns names which are enumerable
ok 30 str is not enumerable
ok 31 obj is not enumerable
ok 32 arr is not enumerable
ok 33 bool is not enumerable
ok 34 num is not enumerable
ok 35 aNull is not enumerable
ok 36 undef is not enumerable
# throws an error for a non-object
ok 37 throws on a non-object
# works with an object instance
ok 38 returns an array
ok 39 Instance has expected keys
# works in iOS 5 mobile Safari
ok 40 has expected keys
# works in environments with the dontEnum bug (IE < 9)
ok 41 has expected keys
# shadowed properties
ok 42 troublesome shadowed properties are keys of object literals
1..42
# tests 42
# pass 42
# ok
TAP version 13
# is.arguments
ok 1 array is not arguments
ok 2 arguments is arguments
ok 3 sliced arguments is not arguments
ok 4 old-style arguments is arguments
# exports a "shim" function
ok 5 keys.shim is a function
# when Object.keys is present
ok 6 Object.keys is not overridden
ok 7 Object.keys is returned
# when Object.keys is not present
ok 8 Object.keys has been deleted
ok 9 Object.keys is overridden
ok 10 shim is returned
# working with actual shim
ok 11 keys shim is not native Object.keys
# works with an object literal
ok 12 returns an array
ok 13 Object has expected keys
# works with an arguments object
ok 14 arguments has length of 3
ok 15 returns keys of arguments
# works with a boxed primitive
ok 16 String object returns proper keys
not ok 17 object string returns proper keys
---
operator: deepEqual
expected: [ '0', '1', '2', '3', '4' ]
actual: []
at: Test.assert (http://git.testling.com/work/ljharb/repos/26f42f8eb7e264c31772141da8ce612d126e5712.1407747480925/1407747481058.7287d4db.js:5575:13)
...
ok 18 String object with extra properties returns proper keys
# works with an array
ok 19 returns an array
ok 20 Array has expected keys
# works with a function
ok 21 does not throw an error
ok 22 returns expected keys
# returns names which are own properties
ok 23 str should be returned
ok 24 obj should be returned
ok 25 arr should be returned
ok 26 bool should be returned
ok 27 num should be returned
ok 28 aNull should be returned
ok 29 undef should be returned
# returns names which are enumerable
ok 30 str is not enumerable
ok 31 obj is not enumerable
ok 32 arr is not enumerable
ok 33 bool is not enumerable
ok 34 num is not enumerable
ok 35 aNull is not enumerable
ok 36 undef is not enumerable
# throws an error for a non-object
ok 37 throws on a non-object
# works with an object instance
ok 38 returns an array
ok 39 Instance has expected keys
# works in iOS 5 mobile Safari
ok 40 has expected keys
# works in environments with the dontEnum bug (IE < 9)
ok 41 has expected keys
# shadowed properties
ok 42 troublesome shadowed properties are keys of object literals
1..42
# tests 42
# pass 41
# fail 1
TAP version 13
# is.arguments
ok 1 array is not arguments
ok 2 arguments is arguments
ok 3 sliced arguments is not arguments
ok 4 old-style arguments is arguments
# exports a "shim" function
ok 5 keys.shim is a function
# when Object.keys is present
ok 6 Object.keys is not overridden
ok 7 Object.keys is returned
# when Object.keys is not present
ok 8 Object.keys has been deleted
ok 9 Object.keys is overridden
ok 10 shim is returned
# working with actual shim
ok 11 keys shim is not native Object.keys
# works with an object literal
ok 12 returns an array
ok 13 Object has expected keys
# works with an arguments object
ok 14 arguments has length of 3
ok 15 returns keys of arguments
# works with a boxed primitive
ok 16 String object returns proper keys
not ok 17 object string returns proper keys
---
operator: deepEqual
expected: [ '0', '1', '2', '3', '4' ]
actual: []
at: Test.assert (http://git.testling.com/work/ljharb/repos/26f42f8eb7e264c31772141da8ce612d126e5712.1407747480925/1407747481058.7287d4db.js:5575:13)
...
ok 18 String object with extra properties returns proper keys
# works with an array
ok 19 returns an array
ok 20 Array has expected keys
# works with a function
ok 21 does not throw an error
ok 22 returns expected keys
# returns names which are own properties
ok 23 str should be returned
ok 24 obj should be returned
ok 25 arr should be returned
ok 26 bool should be returned
ok 27 num should be returned
ok 28 aNull should be returned
ok 29 undef should be returned
# returns names which are enumerable
ok 30 str is not enumerable
ok 31 obj is not enumerable
ok 32 arr is not enumerable
ok 33 bool is not enumerable
ok 34 num is not enumerable
ok 35 aNull is not enumerable
ok 36 undef is not enumerable
# throws an error for a non-object
ok 37 throws on a non-object
# works with an object instance
ok 38 returns an array
ok 39 Instance has expected keys
# works in iOS 5 mobile Safari
ok 40 has expected keys
# works in environments with the dontEnum bug (IE < 9)
ok 41 has expected keys
# shadowed properties
ok 42 troublesome shadowed properties are keys of object literals
1..42
# tests 42
# pass 41
# fail 1
TAP version 13
# is.arguments
ok 1 array is not arguments
ok 2 arguments is arguments
ok 3 sliced arguments is not arguments
ok 4 old-style arguments is arguments
# exports a "shim" function
ok 5 keys.shim is a function
# when Object.keys is present
ok 6 Object.keys is not overridden
ok 7 Object.keys is returned
# when Object.keys is not present
ok 8 Object.keys has been deleted
ok 9 Object.keys is overridden
ok 10 shim is returned
# working with actual shim
ok 11 keys shim is not native Object.keys
# works with an object literal
ok 12 returns an array
ok 13 Object has expected keys
# works with an arguments object
ok 14 arguments has length of 3
ok 15 returns keys of arguments
# works with a boxed primitive
ok 16 String object returns proper keys
ok 17 object string returns proper keys
ok 18 String object with extra properties returns proper keys
# works with an array
ok 19 returns an array
ok 20 Array has expected keys
# works with a function
ok 21 does not throw an error
ok 22 returns expected keys
# returns names which are own properties
ok 23 str should be returned
ok 24 obj should be returned
ok 25 arr should be returned
ok 26 bool should be returned
ok 27 num should be returned
ok 28 aNull should be returned
ok 29 undef should be returned
# returns names which are enumerable
ok 30 str is not enumerable
ok 31 obj is not enumerable
ok 32 arr is not enumerable
ok 33 bool is not enumerable
ok 34 num is not enumerable
ok 35 aNull is not enumerable
ok 36 undef is not enumerable
# throws an error for a non-object
ok 37 throws on a non-object
# works with an object instance
ok 38 returns an array
ok 39 Instance has expected keys
# works in iOS 5 mobile Safari
ok 40 has expected keys
# works in environments with the dontEnum bug (IE < 9)
ok 41 has expected keys
# shadowed properties
ok 42 troublesome shadowed properties are keys of object literals
1..42
# tests 42
# pass 42
# ok
TAP version 13
# is.arguments
ok 1 array is not arguments
ok 2 arguments is arguments
ok 3 sliced arguments is not arguments
ok 4 old-style arguments is arguments
# exports a "shim" function
ok 5 keys.shim is a function
# when Object.keys is present
ok 6 Object.keys is not overridden
ok 7 Object.keys is returned
# when Object.keys is not present
ok 8 Object.keys has been deleted
ok 9 Object.keys is overridden
ok 10 shim is returned
# working with actual shim
ok 11 keys shim is not native Object.keys
# works with an object literal
ok 12 returns an array
ok 13 Object has expected keys
# works with an arguments object
ok 14 arguments has length of 3
ok 15 returns keys of arguments
# works with a boxed primitive
ok 16 String object returns proper keys
ok 17 object string returns proper keys
ok 18 String object with extra properties returns proper keys
# works with an array
ok 19 returns an array
ok 20 Array has expected keys
# works with a function
ok 21 does not throw an error
ok 22 returns expected keys
# returns names which are own properties
ok 23 str should be returned
ok 24 obj should be returned
ok 25 arr should be returned
ok 26 bool should be returned
ok 27 num should be returned
ok 28 aNull should be returned
ok 29 undef should be returned
# returns names which are enumerable
ok 30 str is not enumerable
ok 31 obj is not enumerable
ok 32 arr is not enumerable
ok 33 bool is not enumerable
ok 34 num is not enumerable
ok 35 aNull is not enumerable
ok 36 undef is not enumerable
# throws an error for a non-object
ok 37 throws on a non-object
# works with an object instance
ok 38 returns an array
ok 39 Instance has expected keys
# works in iOS 5 mobile Safari
ok 40 has expected keys
# works in environments with the dontEnum bug (IE < 9)
ok 41 has expected keys
# shadowed properties
ok 42 troublesome shadowed properties are keys of object literals
1..42
# tests 42
# pass 42
# ok
TAP version 13
# is.arguments
ok 1 array is not arguments
ok 2 arguments is arguments
ok 3 sliced arguments is not arguments
ok 4 old-style arguments is arguments
# exports a "shim" function
ok 5 keys.shim is a function
# when Object.keys is present
ok 6 Object.keys is not overridden
ok 7 Object.keys is returned
# when Object.keys is not present
ok 8 Object.keys has been deleted
ok 9 Object.keys is overridden
ok 10 shim is returned
# working with actual shim
ok 11 keys shim is not native Object.keys
# works with an object literal
ok 12 returns an array
ok 13 Object has expected keys
# works with an arguments object
ok 14 arguments has length of 3
ok 15 returns keys of arguments
# works with a boxed primitive
ok 16 String object returns proper keys
ok 17 object string returns proper keys
ok 18 String object with extra properties returns proper keys
# works with an array
ok 19 returns an array
ok 20 Array has expected keys
# works with a function
ok 21 does not throw an error
ok 22 returns expected keys
# returns names which are own properties
ok 23 str should be returned
ok 24 obj should be returned
ok 25 arr should be returned
ok 26 bool should be returned
ok 27 num should be returned
ok 28 aNull should be returned
ok 29 undef should be returned
# returns names which are enumerable
ok 30 str is not enumerable
ok 31 obj is not enumerable
ok 32 arr is not enumerable
ok 33 bool is not enumerable
ok 34 num is not enumerable
ok 35 aNull is not enumerable
ok 36 undef is not enumerable
# throws an error for a non-object
ok 37 throws on a non-object
# works with an object instance
ok 38 returns an array
ok 39 Instance has expected keys
# works in iOS 5 mobile Safari
ok 40 has expected keys
# works in environments with the dontEnum bug (IE < 9)
ok 41 has expected keys
# shadowed properties
ok 42 troublesome shadowed properties are keys of object literals
1..42
# tests 42
# pass 42
# ok
TAP version 13
# is.arguments
ok 1 array is not arguments
ok 2 arguments is arguments
ok 3 sliced arguments is not arguments
ok 4 old-style arguments is arguments
# exports a "shim" function
ok 5 keys.shim is a function
# when Object.keys is present
ok 6 Object.keys is not overridden
ok 7 Object.keys is returned
# when Object.keys is not present
ok 8 Object.keys has been deleted
ok 9 Object.keys is overridden
ok 10 shim is returned
# working with actual shim
ok 11 keys shim is not native Object.keys
# works with an object literal
ok 12 returns an array
ok 13 Object has expected keys
# works with an arguments object
ok 14 arguments has length of 3
ok 15 returns keys of arguments
# works with a boxed primitive
ok 16 String object returns proper keys
ok 17 object string returns proper keys
ok 18 String object with extra properties returns proper keys
# works with an array
ok 19 returns an array
ok 20 Array has expected keys
# works with a function
ok 21 does not throw an error
ok 22 returns expected keys
# returns names which are own properties
ok 23 str should be returned
ok 24 obj should be returned
ok 25 arr should be returned
ok 26 bool should be returned
ok 27 num should be returned
ok 28 aNull should be returned
ok 29 undef should be returned
# returns names which are enumerable
ok 30 str is not enumerable
ok 31 obj is not enumerable
ok 32 arr is not enumerable
ok 33 bool is not enumerable
ok 34 num is not enumerable
ok 35 aNull is not enumerable
ok 36 undef is not enumerable
# throws an error for a non-object
ok 37 throws on a non-object
# works with an object instance
ok 38 returns an array
ok 39 Instance has expected keys
# works in iOS 5 mobile Safari
ok 40 has expected keys
# works in environments with the dontEnum bug (IE < 9)
ok 41 has expected keys
# shadowed properties
ok 42 troublesome shadowed properties are keys of object literals
1..42
# tests 42
# pass 42
# ok
TAP version 13
# is.arguments
ok 1 array is not arguments
ok 2 arguments is arguments
ok 3 sliced arguments is not arguments
ok 4 old-style arguments is arguments
# exports a "shim" function
ok 5 keys.shim is a function
# when Object.keys is present
ok 6 Object.keys is not overridden
ok 7 Object.keys is returned
# when Object.keys is not present
ok 8 Object.keys has been deleted
ok 9 Object.keys is overridden
ok 10 shim is returned
# working with actual shim
ok 11 keys shim is not native Object.keys
# works with an object literal
ok 12 returns an array
ok 13 Object has expected keys
# works with an arguments object
ok 14 arguments has length of 3
ok 15 returns keys of arguments
# works with a boxed primitive
ok 16 String object returns proper keys
ok 17 object string returns proper keys
ok 18 String object with extra properties returns proper keys
# works with an array
ok 19 returns an array
ok 20 Array has expected keys
# works with a function
ok 21 does not throw an error
ok 22 returns expected keys
# returns names which are own properties
ok 23 str should be returned
ok 24 obj should be returned
ok 25 arr should be returned
ok 26 bool should be returned
ok 27 num should be returned
ok 28 aNull should be returned
ok 29 undef should be returned
# returns names which are enumerable
ok 30 str is not enumerable
ok 31 obj is not enumerable
ok 32 arr is not enumerable
ok 33 bool is not enumerable
ok 34 num is not enumerable
ok 35 aNull is not enumerable
ok 36 undef is not enumerable
# throws an error for a non-object
ok 37 throws on a non-object
# works with an object instance
ok 38 returns an array
ok 39 Instance has expected keys
# works in iOS 5 mobile Safari
ok 40 has expected keys
# works in environments with the dontEnum bug (IE < 9)
ok 41 has expected keys
# shadowed properties
ok 42 troublesome shadowed properties are keys of object literals
1..42
# tests 42
# pass 42
# ok
TAP version 13
# is.arguments
ok 1 array is not arguments
ok 2 arguments is arguments
ok 3 sliced arguments is not arguments
ok 4 old-style arguments is arguments
# exports a "shim" function
ok 5 keys.shim is a function
# when Object.keys is present
ok 6 Object.keys is not overridden
ok 7 Object.keys is returned
# when Object.keys is not present
ok 8 Object.keys has been deleted
ok 9 Object.keys is overridden
ok 10 shim is returned
# working with actual shim
ok 11 keys shim is not native Object.keys
# works with an object literal
ok 12 returns an array
ok 13 Object has expected keys
# works with an arguments object
ok 14 arguments has length of 3
ok 15 returns keys of arguments
# works with a boxed primitive
ok 16 String object returns proper keys
ok 17 object string returns proper keys
ok 18 String object with extra properties returns proper keys
# works with an array
ok 19 returns an array
ok 20 Array has expected keys
# works with a function
ok 21 does not throw an error
ok 22 returns expected keys
# returns names which are own properties
ok 23 str should be returned
ok 24 obj should be returned
ok 25 arr should be returned
ok 26 bool should be returned
ok 27 num should be returned
ok 28 aNull should be returned
ok 29 undef should be returned
# returns names which are enumerable
ok 30 str is not enumerable
ok 31 obj is not enumerable
ok 32 arr is not enumerable
ok 33 bool is not enumerable
ok 34 num is not enumerable
ok 35 aNull is not enumerable
ok 36 undef is not enumerable
# throws an error for a non-object
ok 37 throws on a non-object
# works with an object instance
ok 38 returns an array
ok 39 Instance has expected keys
# works in iOS 5 mobile Safari
ok 40 has expected keys
# works in environments with the dontEnum bug (IE < 9)
ok 41 has expected keys
# shadowed properties
ok 42 troublesome shadowed properties are keys of object literals
1..42
# tests 42
# pass 42
# ok
TAP version 13
# is.arguments
ok 1 array is not arguments
ok 2 arguments is arguments
ok 3 sliced arguments is not arguments
ok 4 old-style arguments is arguments
# exports a "shim" function
ok 5 keys.shim is a function
# when Object.keys is present
ok 6 Object.keys is not overridden
ok 7 Object.keys is returned
# when Object.keys is not present
ok 8 Object.keys has been deleted
ok 9 Object.keys is overridden
ok 10 shim is returned
# working with actual shim
ok 11 keys shim is not native Object.keys
# works with an object literal
ok 12 returns an array
ok 13 Object has expected keys
# works with an arguments object
ok 14 arguments has length of 3
ok 15 returns keys of arguments
# works with a boxed primitive
ok 16 String object returns proper keys
ok 17 object string returns proper keys
ok 18 String object with extra properties returns proper keys
# works with an array
ok 19 returns an array
ok 20 Array has expected keys
# works with a function
ok 21 does not throw an error
ok 22 returns expected keys
# returns names which are own properties
ok 23 str should be returned
ok 24 obj should be returned
ok 25 arr should be returned
ok 26 bool should be returned
ok 27 num should be returned
ok 28 aNull should be returned
ok 29 undef should be returned
# returns names which are enumerable
ok 30 str is not enumerable
ok 31 obj is not enumerable
ok 32 arr is not enumerable
ok 33 bool is not enumerable
ok 34 num is not enumerable
ok 35 aNull is not enumerable
ok 36 undef is not enumerable
# throws an error for a non-object
ok 37 throws on a non-object
# works with an object instance
ok 38 returns an array
ok 39 Instance has expected keys
# works in iOS 5 mobile Safari
ok 40 has expected keys
# works in environments with the dontEnum bug (IE < 9)
ok 41 has expected keys
# shadowed properties
ok 42 troublesome shadowed properties are keys of object literals
1..42
# tests 42
# pass 42
# ok
TAP version 13
# is.arguments
ok 1 array is not arguments
ok 2 arguments is arguments
ok 3 sliced arguments is not arguments
ok 4 old-style arguments is arguments
# exports a "shim" function
ok 5 keys.shim is a function
# when Object.keys is present
ok 6 Object.keys is not overridden
ok 7 Object.keys is returned
# when Object.keys is not present
ok 8 Object.keys has been deleted
ok 9 Object.keys is overridden
ok 10 shim is returned
# working with actual shim
ok 11 keys shim is not native Object.keys
# works with an object literal
ok 12 returns an array
ok 13 Object has expected keys
# works with an arguments object
ok 14 arguments has length of 3
ok 15 returns keys of arguments
# works with a boxed primitive
ok 16 String object returns proper keys
ok 17 object string returns proper keys
ok 18 String object with extra properties returns proper keys
# works with an array
ok 19 returns an array
ok 20 Array has expected keys
# works with a function
ok 21 does not throw an error
ok 22 returns expected keys
# returns names which are own properties
ok 23 str should be returned
ok 24 obj should be returned
ok 25 arr should be returned
ok 26 bool should be returned
ok 27 num should be returned
ok 28 aNull should be returned
ok 29 undef should be returned
# returns names which are enumerable
ok 30 str is not enumerable
ok 31 obj is not enumerable
ok 32 arr is not enumerable
ok 33 bool is not enumerable
ok 34 num is not enumerable
ok 35 aNull is not enumerable
ok 36 undef is not enumerable
# throws an error for a non-object
ok 37 throws on a non-object
# works with an object instance
ok 38 returns an array
ok 39 Instance has expected keys
# works in iOS 5 mobile Safari
ok 40 has expected keys
# works in environments with the dontEnum bug (IE < 9)
ok 41 has expected keys
# shadowed properties
ok 42 troublesome shadowed properties are keys of object literals
1..42
# tests 42
# pass 42
# ok
TAP version 13
# is.arguments
ok 1 array is not arguments
ok 2 arguments is arguments
ok 3 sliced arguments is not arguments
ok 4 old-style arguments is arguments
# exports a "shim" function
ok 5 keys.shim is a function
# when Object.keys is present
ok 6 Object.keys is not overridden
ok 7 Object.keys is returned
# when Object.keys is not present
ok 8 Object.keys has been deleted
ok 9 Object.keys is overridden
ok 10 shim is returned
# working with actual shim
ok 11 keys shim is not native Object.keys
# works with an object literal
ok 12 returns an array
ok 13 Object has expected keys
# works with an arguments object
ok 14 arguments has length of 3
ok 15 returns keys of arguments
# works with a boxed primitive
ok 16 String object returns proper keys
ok 17 object string returns proper keys
ok 18 String object with extra properties returns proper keys
# works with an array
ok 19 returns an array
ok 20 Array has expected keys
# works with a function
ok 21 does not throw an error
ok 22 returns expected keys
# returns names which are own properties
ok 23 str should be returned
ok 24 obj should be returned
ok 25 arr should be returned
ok 26 bool should be returned
ok 27 num should be returned
ok 28 aNull should be returned
ok 29 undef should be returned
# returns names which are enumerable
ok 30 str is not enumerable
ok 31 obj is not enumerable
ok 32 arr is not enumerable
ok 33 bool is not enumerable
ok 34 num is not enumerable
ok 35 aNull is not enumerable
ok 36 undef is not enumerable
# throws an error for a non-object
ok 37 throws on a non-object
# works with an object instance
ok 38 returns an array
ok 39 Instance has expected keys
# works in iOS 5 mobile Safari
ok 40 has expected keys
# works in environments with the dontEnum bug (IE < 9)
ok 41 has expected keys
# shadowed properties
ok 42 troublesome shadowed properties are keys of object literals
1..42
# tests 42
# pass 42
# ok
TAP version 13
# is.arguments
ok 1 array is not arguments
ok 2 arguments is arguments
ok 3 sliced arguments is not arguments
ok 4 old-style arguments is arguments
# exports a "shim" function
ok 5 keys.shim is a function
# when Object.keys is present
ok 6 Object.keys is not overridden
ok 7 Object.keys is returned
# when Object.keys is not present
ok 8 Object.keys has been deleted
ok 9 Object.keys is overridden
ok 10 shim is returned
# working with actual shim
ok 11 keys shim is not native Object.keys
# works with an object literal
ok 12 returns an array
ok 13 Object has expected keys
# works with an arguments object
ok 14 arguments has length of 3
ok 15 returns keys of arguments
# works with a boxed primitive
ok 16 String object returns proper keys
ok 17 object string returns proper keys
ok 18 String object with extra properties returns proper keys
# works with an array
ok 19 returns an array
ok 20 Array has expected keys
# works with a function
ok 21 does not throw an error
ok 22 returns expected keys
# returns names which are own properties
ok 23 str should be returned
ok 24 obj should be returned
ok 25 arr should be returned
ok 26 bool should be returned
ok 27 num should be returned
ok 28 aNull should be returned
ok 29 undef should be returned
# returns names which are enumerable
ok 30 str is not enumerable
ok 31 obj is not enumerable
ok 32 arr is not enumerable
ok 33 bool is not enumerable
ok 34 num is not enumerable
ok 35 aNull is not enumerable
ok 36 undef is not enumerable
# throws an error for a non-object
ok 37 throws on a non-object
# works with an object instance
ok 38 returns an array
ok 39 Instance has expected keys
# works in iOS 5 mobile Safari
ok 40 has expected keys
# works in environments with the dontEnum bug (IE < 9)
ok 41 has expected keys
# shadowed properties
ok 42 troublesome shadowed properties are keys of object literals
1..42
# tests 42
# pass 42
# ok
TAP version 13
# is.arguments
ok 1 array is not arguments
ok 2 arguments is arguments
ok 3 sliced arguments is not arguments
ok 4 old-style arguments is arguments
# exports a "shim" function
ok 5 keys.shim is a function
# when Object.keys is present
ok 6 Object.keys is not overridden
ok 7 Object.keys is returned
# when Object.keys is not present
ok 8 Object.keys has been deleted
ok 9 Object.keys is overridden
ok 10 shim is returned
# working with actual shim
ok 11 keys shim is not native Object.keys
# works with an object literal
ok 12 returns an array
ok 13 Object has expected keys
# works with an arguments object
ok 14 arguments has length of 3
ok 15 returns keys of arguments
# works with a boxed primitive
ok 16 String object returns proper keys
ok 17 object string returns proper keys
ok 18 String object with extra properties returns proper keys
# works with an array
ok 19 returns an array
ok 20 Array has expected keys
# works with a function
ok 21 does not throw an error
ok 22 returns expected keys
# returns names which are own properties
ok 23 str should be returned
ok 24 obj should be returned
ok 25 arr should be returned
ok 26 bool should be returned
ok 27 num should be returned
ok 28 aNull should be returned
ok 29 undef should be returned
# returns names which are enumerable
ok 30 str is not enumerable
ok 31 obj is not enumerable
ok 32 arr is not enumerable
ok 33 bool is not enumerable
ok 34 num is not enumerable
ok 35 aNull is not enumerable
ok 36 undef is not enumerable
# throws an error for a non-object
ok 37 throws on a non-object
# works with an object instance
ok 38 returns an array
ok 39 Instance has expected keys
# works in iOS 5 mobile Safari
ok 40 has expected keys
# works in environments with the dontEnum bug (IE < 9)
ok 41 has expected keys
# shadowed properties
ok 42 troublesome shadowed properties are keys of object literals
1..42
# tests 42
# pass 42
# ok
TAP version 13
# is.arguments
ok 1 array is not arguments
ok 2 arguments is arguments
ok 3 sliced arguments is not arguments
ok 4 old-style arguments is arguments
# exports a "shim" function
ok 5 keys.shim is a function
# when Object.keys is present
ok 6 Object.keys is not overridden
ok 7 Object.keys is returned
# when Object.keys is not present
ok 8 Object.keys has been deleted
ok 9 Object.keys is overridden
ok 10 shim is returned
# working with actual shim
ok 11 keys shim is not native Object.keys
# works with an object literal
ok 12 returns an array
ok 13 Object has expected keys
# works with an arguments object
ok 14 arguments has length of 3
ok 15 returns keys of arguments
# works with a boxed primitive
ok 16 String object returns proper keys
ok 17 object string returns proper keys
ok 18 String object with extra properties returns proper keys
# works with an array
ok 19 returns an array
ok 20 Array has expected keys
# works with a function
ok 21 does not throw an error
ok 22 returns expected keys
# returns names which are own properties
ok 23 str should be returned
ok 24 obj should be returned
ok 25 arr should be returned
ok 26 bool should be returned
ok 27 num should be returned
ok 28 aNull should be returned
ok 29 undef should be returned
# returns names which are enumerable
ok 30 str is not enumerable
ok 31 obj is not enumerable
ok 32 arr is not enumerable
ok 33 bool is not enumerable
ok 34 num is not enumerable
ok 35 aNull is not enumerable
ok 36 undef is not enumerable
# throws an error for a non-object
ok 37 throws on a non-object
# works with an object instance
ok 38 returns an array
ok 39 Instance has expected keys
# works in iOS 5 mobile Safari
ok 40 has expected keys
# works in environments with the dontEnum bug (IE < 9)
ok 41 has expected keys
# shadowed properties
ok 42 troublesome shadowed properties are keys of object literals
1..42
# tests 42
# pass 42
# ok
TAP version 13
# is.arguments
ok 1 array is not arguments
ok 2 arguments is arguments
ok 3 sliced arguments is not arguments
ok 4 old-style arguments is arguments
# exports a "shim" function
ok 5 keys.shim is a function
# when Object.keys is present
ok 6 Object.keys is not overridden
ok 7 Object.keys is returned
# when Object.keys is not present
ok 8 Object.keys has been deleted
ok 9 Object.keys is overridden
ok 10 shim is returned
# working with actual shim
ok 11 keys shim is not native Object.keys
# works with an object literal
ok 12 returns an array
ok 13 Object has expected keys
# works with an arguments object
ok 14 arguments has length of 3
ok 15 returns keys of arguments
# works with a boxed primitive
ok 16 String object returns proper keys
ok 17 object string returns proper keys
ok 18 String object with extra properties returns proper keys
# works with an array
ok 19 returns an array
ok 20 Array has expected keys
# works with a function
ok 21 does not throw an error
ok 22 returns expected keys
# returns names which are own properties
ok 23 str should be returned
ok 24 obj should be returned
ok 25 arr should be returned
ok 26 bool should be returned
ok 27 num should be returned
ok 28 aNull should be returned
ok 29 undef should be returned
# returns names which are enumerable
ok 30 str is not enumerable
ok 31 obj is not enumerable
ok 32 arr is not enumerable
ok 33 bool is not enumerable
ok 34 num is not enumerable
ok 35 aNull is not enumerable
ok 36 undef is not enumerable
# throws an error for a non-object
ok 37 throws on a non-object
# works with an object instance
ok 38 returns an array
ok 39 Instance has expected keys
# works in iOS 5 mobile Safari
ok 40 has expected keys
# works in environments with the dontEnum bug (IE < 9)
ok 41 has expected keys
# shadowed properties
ok 42 troublesome shadowed properties are keys of object literals
1..42
# tests 42
# pass 42
# ok
TAP version 13
# is.arguments
ok 1 array is not arguments
ok 2 arguments is arguments
ok 3 sliced arguments is not arguments
ok 4 old-style arguments is arguments
# exports a "shim" function
ok 5 keys.shim is a function
# when Object.keys is present
ok 6 Object.keys is not overridden
ok 7 Object.keys is returned
# when Object.keys is not present
ok 8 Object.keys has been deleted
ok 9 Object.keys is overridden
ok 10 shim is returned
# working with actual shim
ok 11 keys shim is not native Object.keys
# works with an object literal
ok 12 returns an array
ok 13 Object has expected keys
# works with an arguments object
ok 14 arguments has length of 3
ok 15 returns keys of arguments
# works with a boxed primitive
ok 16 String object returns proper keys
ok 17 object string returns proper keys
ok 18 String object with extra properties returns proper keys
# works with an array
ok 19 returns an array
ok 20 Array has expected keys
# works with a function
ok 21 does not throw an error
ok 22 returns expected keys
# returns names which are own properties
ok 23 str should be returned
ok 24 obj should be returned
ok 25 arr should be returned
ok 26 bool should be returned
ok 27 num should be returned
ok 28 aNull should be returned
ok 29 undef should be returned
# returns names which are enumerable
ok 30 str is not enumerable
ok 31 obj is not enumerable
ok 32 arr is not enumerable
ok 33 bool is not enumerable
ok 34 num is not enumerable
ok 35 aNull is not enumerable
ok 36 undef is not enumerable
# throws an error for a non-object
ok 37 throws on a non-object
# works with an object instance
ok 38 returns an array
ok 39 Instance has expected keys
# works in iOS 5 mobile Safari
ok 40 has expected keys
# works in environments with the dontEnum bug (IE < 9)
ok 41 has expected keys
# shadowed properties
ok 42 troublesome shadowed properties are keys of object literals
1..42
# tests 42
# pass 42
# ok
TAP version 13
# is.arguments
ok 1 array is not arguments
ok 2 arguments is arguments
ok 3 sliced arguments is not arguments
ok 4 old-style arguments is arguments
# exports a "shim" function
ok 5 keys.shim is a function
# when Object.keys is present
ok 6 Object.keys is not overridden
ok 7 Object.keys is returned
# when Object.keys is not present
ok 8 Object.keys has been deleted
ok 9 Object.keys is overridden
ok 10 shim is returned
# working with actual shim
ok 11 keys shim is not native Object.keys
# works with an object literal
ok 12 returns an array
ok 13 Object has expected keys
# works with an arguments object
ok 14 arguments has length of 3
ok 15 returns keys of arguments
# works with a boxed primitive
ok 16 String object returns proper keys
ok 17 object string returns proper keys
ok 18 String object with extra properties returns proper keys
# works with an array
ok 19 returns an array
ok 20 Array has expected keys
# works with a function
ok 21 does not throw an error
ok 22 returns expected keys
# returns names which are own properties
ok 23 str should be returned
ok 24 obj should be returned
ok 25 arr should be returned
ok 26 bool should be returned
ok 27 num should be returned
ok 28 aNull should be returned
ok 29 undef should be returned
# returns names which are enumerable
ok 30 str is not enumerable
ok 31 obj is not enumerable
ok 32 arr is not enumerable
ok 33 bool is not enumerable
ok 34 num is not enumerable
ok 35 aNull is not enumerable
ok 36 undef is not enumerable
# throws an error for a non-object
ok 37 throws on a non-object
# works with an object instance
ok 38 returns an array
ok 39 Instance has expected keys
# works in iOS 5 mobile Safari
ok 40 has expected keys
# works in environments with the dontEnum bug (IE < 9)
ok 41 has expected keys
# shadowed properties
ok 42 troublesome shadowed properties are keys of object literals
1..42
# tests 42
# pass 42
# ok
TAP version 13
# is.arguments
ok 1 array is not arguments
ok 2 arguments is arguments
ok 3 sliced arguments is not arguments
ok 4 old-style arguments is arguments
# exports a "shim" function
ok 5 keys.shim is a function
# when Object.keys is present
ok 6 Object.keys is not overridden
ok 7 Object.keys is returned
# when Object.keys is not present
ok 8 Object.keys has been deleted
ok 9 Object.keys is overridden
ok 10 shim is returned
# working with actual shim
ok 11 keys shim is not native Object.keys
# works with an object literal
ok 12 returns an array
ok 13 Object has expected keys
# works with an arguments object
ok 14 arguments has length of 3
ok 15 returns keys of arguments
# works with a boxed primitive
ok 16 String object returns proper keys
ok 17 object string returns proper keys
ok 18 String object with extra properties returns proper keys
# works with an array
ok 19 returns an array
ok 20 Array has expected keys
# works with a function
ok 21 does not throw an error
ok 22 returns expected keys
# returns names which are own properties
ok 23 str should be returned
ok 24 obj should be returned
ok 25 arr should be returned
ok 26 bool should be returned
ok 27 num should be returned
ok 28 aNull should be returned
ok 29 undef should be returned
# returns names which are enumerable
ok 30 str is not enumerable
ok 31 obj is not enumerable
ok 32 arr is not enumerable
ok 33 bool is not enumerable
ok 34 num is not enumerable
ok 35 aNull is not enumerable
ok 36 undef is not enumerable
# throws an error for a non-object
ok 37 throws on a non-object
# works with an object instance
ok 38 returns an array
ok 39 Instance has expected keys
# works in iOS 5 mobile Safari
ok 40 has expected keys
# works in environments with the dontEnum bug (IE < 9)
ok 41 has expected keys
# shadowed properties
ok 42 troublesome shadowed properties are keys of object literals
1..42
# tests 42
# pass 42
# ok
TAP version 13
# is.arguments
ok 1 array is not arguments
ok 2 arguments is arguments
ok 3 sliced arguments is not arguments
ok 4 old-style arguments is arguments
# exports a "shim" function
ok 5 keys.shim is a function
# when Object.keys is present
ok 6 Object.keys is not overridden
ok 7 Object.keys is returned
# when Object.keys is not present
ok 8 Object.keys has been deleted
ok 9 Object.keys is overridden
ok 10 shim is returned
# working with actual shim
ok 11 keys shim is not native Object.keys
# works with an object literal
ok 12 returns an array
ok 13 Object has expected keys
# works with an arguments object
ok 14 arguments has length of 3
ok 15 returns keys of arguments
# works with a boxed primitive
ok 16 String object returns proper keys
ok 17 object string returns proper keys
ok 18 String object with extra properties returns proper keys
# works with an array
ok 19 returns an array
ok 20 Array has expected keys
# works with a function
ok 21 does not throw an error
ok 22 returns expected keys
# returns names which are own properties
ok 23 str should be returned
ok 24 obj should be returned
ok 25 arr should be returned
ok 26 bool should be returned
ok 27 num should be returned
ok 28 aNull should be returned
ok 29 undef should be returned
# returns names which are enumerable
ok 30 str is not enumerable
ok 31 obj is not enumerable
ok 32 arr is not enumerable
ok 33 bool is not enumerable
ok 34 num is not enumerable
ok 35 aNull is not enumerable
ok 36 undef is not enumerable
# throws an error for a non-object
ok 37 throws on a non-object
# works with an object instance
ok 38 returns an array
ok 39 Instance has expected keys
# works in iOS 5 mobile Safari
ok 40 has expected keys
# works in environments with the dontEnum bug (IE < 9)
ok 41 has expected keys
# shadowed properties
ok 42 troublesome shadowed properties are keys of object literals
1..42
# tests 42
# pass 42
# ok
TAP version 13
# is.arguments
ok 1 array is not arguments
ok 2 arguments is arguments
ok 3 sliced arguments is not arguments
ok 4 old-style arguments is arguments
# exports a "shim" function
ok 5 keys.shim is a function
# when Object.keys is present
ok 6 Object.keys is not overridden
ok 7 Object.keys is returned
# when Object.keys is not present
ok 8 Object.keys has been deleted
ok 9 Object.keys is overridden
ok 10 shim is returned
# working with actual shim
ok 11 keys shim is not native Object.keys
# works with an object literal
ok 12 returns an array
ok 13 Object has expected keys
# works with an arguments object
ok 14 arguments has length of 3
ok 15 returns keys of arguments
# works with a boxed primitive
ok 16 String object returns proper keys
ok 17 object string returns proper keys
ok 18 String object with extra properties returns proper keys
# works with an array
ok 19 returns an array
ok 20 Array has expected keys
# works with a function
ok 21 does not throw an error
ok 22 returns expected keys
# returns names which are own properties
ok 23 str should be returned
ok 24 obj should be returned
ok 25 arr should be returned
ok 26 bool should be returned
ok 27 num should be returned
ok 28 aNull should be returned
ok 29 undef should be returned
# returns names which are enumerable
ok 30 str is not enumerable
ok 31 obj is not enumerable
ok 32 arr is not enumerable
ok 33 bool is not enumerable
ok 34 num is not enumerable
ok 35 aNull is not enumerable
ok 36 undef is not enumerable
# throws an error for a non-object
ok 37 throws on a non-object
# works with an object instance
ok 38 returns an array
ok 39 Instance has expected keys
# works in iOS 5 mobile Safari
ok 40 has expected keys
# works in environments with the dontEnum bug (IE < 9)
ok 41 has expected keys
# shadowed properties
ok 42 troublesome shadowed properties are keys of object literals
1..42
# tests 42
# pass 42
# ok
TAP version 13
# is.arguments
ok 1 array is not arguments
ok 2 arguments is arguments
ok 3 sliced arguments is not arguments
ok 4 old-style arguments is arguments
# exports a "shim" function
ok 5 keys.shim is a function
# when Object.keys is present
ok 6 Object.keys is not overridden
ok 7 Object.keys is returned
# when Object.keys is not present
ok 8 Object.keys has been deleted
ok 9 Object.keys is overridden
ok 10 shim is returned
# working with actual shim
ok 11 keys shim is not native Object.keys
# works with an object literal
ok 12 returns an array
ok 13 Object has expected keys
# works with an arguments object
ok 14 arguments has length of 3
ok 15 returns keys of arguments
# works with a boxed primitive
ok 16 String object returns proper keys
ok 17 object string returns proper keys
ok 18 String object with extra properties returns proper keys
# works with an array
ok 19 returns an array
ok 20 Array has expected keys
# works with a function
ok 21 does not throw an error
ok 22 returns expected keys
# returns names which are own properties
ok 23 str should be returned
ok 24 obj should be returned
ok 25 arr should be returned
ok 26 bool should be returned
ok 27 num should be returned
ok 28 aNull should be returned
ok 29 undef should be returned
# returns names which are enumerable
ok 30 str is not enumerable
ok 31 obj is not enumerable
ok 32 arr is not enumerable
ok 33 bool is not enumerable
ok 34 num is not enumerable
ok 35 aNull is not enumerable
ok 36 undef is not enumerable
# throws an error for a non-object
ok 37 throws on a non-object
# works with an object instance
ok 38 returns an array
ok 39 Instance has expected keys
# works in iOS 5 mobile Safari
ok 40 has expected keys
# works in environments with the dontEnum bug (IE < 9)
ok 41 has expected keys
# shadowed properties
ok 42 troublesome shadowed properties are keys of object literals
1..42
# tests 42
# pass 42
# ok
TAP version 13
# is.arguments
ok 1 array is not arguments
ok 2 arguments is arguments
ok 3 sliced arguments is not arguments
ok 4 old-style arguments is arguments
# exports a "shim" function
ok 5 keys.shim is a function
# when Object.keys is present
ok 6 Object.keys is not overridden
ok 7 Object.keys is returned
# when Object.keys is not present
ok 8 Object.keys has been deleted
ok 9 Object.keys is overridden
ok 10 shim is returned
# working with actual shim
ok 11 keys shim is not native Object.keys
# works with an object literal
ok 12 returns an array
ok 13 Object has expected keys
# works with an arguments object
ok 14 arguments has length of 3
ok 15 returns keys of arguments
# works with a boxed primitive
ok 16 String object returns proper keys
ok 17 object string returns proper keys
ok 18 String object with extra properties returns proper keys
# works with an array
ok 19 returns an array
ok 20 Array has expected keys
# works with a function
ok 21 does not throw an error
ok 22 returns expected keys
# returns names which are own properties
ok 23 str should be returned
ok 24 obj should be returned
ok 25 arr should be returned
ok 26 bool should be returned
ok 27 num should be returned
ok 28 aNull should be returned
ok 29 undef should be returned
# returns names which are enumerable
ok 30 str is not enumerable
ok 31 obj is not enumerable
ok 32 arr is not enumerable
ok 33 bool is not enumerable
ok 34 num is not enumerable
ok 35 aNull is not enumerable
ok 36 undef is not enumerable
# throws an error for a non-object
ok 37 throws on a non-object
# works with an object instance
ok 38 returns an array
ok 39 Instance has expected keys
# works in iOS 5 mobile Safari
ok 40 has expected keys
# works in environments with the dontEnum bug (IE < 9)
ok 41 has expected keys
# shadowed properties
ok 42 troublesome shadowed properties are keys of object literals
1..42
# tests 42
# pass 42
# ok
TAP version 13
# is.arguments
ok 1 array is not arguments
ok 2 arguments is arguments
ok 3 sliced arguments is not arguments
ok 4 old-style arguments is arguments
# exports a "shim" function
ok 5 keys.shim is a function
# when Object.keys is present
ok 6 Object.keys is not overridden
ok 7 Object.keys is returned
# when Object.keys is not present
ok 8 Object.keys has been deleted
ok 9 Object.keys is overridden
ok 10 shim is returned
# working with actual shim
ok 11 keys shim is not native Object.keys
# works with an object literal
ok 12 returns an array
ok 13 Object has expected keys
# works with an arguments object
ok 14 arguments has length of 3
ok 15 returns keys of arguments
# works with a boxed primitive
ok 16 String object returns proper keys
ok 17 object string returns proper keys
ok 18 String object with extra properties returns proper keys
# works with an array
ok 19 returns an array
ok 20 Array has expected keys
# works with a function
ok 21 does not throw an error
ok 22 returns expected keys
# returns names which are own properties
ok 23 str should be returned
ok 24 obj should be returned
ok 25 arr should be returned
ok 26 bool should be returned
ok 27 num should be returned
ok 28 aNull should be returned
ok 29 undef should be returned
# returns names which are enumerable
ok 30 str is not enumerable
ok 31 obj is not enumerable
ok 32 arr is not enumerable
ok 33 bool is not enumerable
ok 34 num is not enumerable
ok 35 aNull is not enumerable
ok 36 undef is not enumerable
# throws an error for a non-object
ok 37 throws on a non-object
# works with an object instance
ok 38 returns an array
ok 39 Instance has expected keys
# works in iOS 5 mobile Safari
ok 40 has expected keys
# works in environments with the dontEnum bug (IE < 9)
ok 41 has expected keys
# shadowed properties
ok 42 troublesome shadowed properties are keys of object literals
1..42
# tests 42
# pass 42
# ok
TAP version 13
# is.arguments
ok 1 array is not arguments
ok 2 arguments is arguments
ok 3 sliced arguments is not arguments
ok 4 old-style arguments is arguments
# exports a "shim" function
ok 5 keys.shim is a function
# when Object.keys is present
ok 6 Object.keys is not overridden
ok 7 Object.keys is returned
# when Object.keys is not present
ok 8 Object.keys has been deleted
ok 9 Object.keys is overridden
ok 10 shim is returned
# working with actual shim
ok 11 keys shim is not native Object.keys
# works with an object literal
ok 12 returns an array
ok 13 Object has expected keys
# works with an arguments object
ok 14 arguments has length of 3
ok 15 returns keys of arguments
# works with a boxed primitive
ok 16 String object returns proper keys
ok 17 object string returns proper keys
ok 18 String object with extra properties returns proper keys
# works with an array
ok 19 returns an array
ok 20 Array has expected keys
# works with a function
ok 21 does not throw an error
ok 22 returns expected keys
# returns names which are own properties
ok 23 str should be returned
ok 24 obj should be returned
ok 25 arr should be returned
ok 26 bool should be returned
ok 27 num should be returned
ok 28 aNull should be returned
ok 29 undef should be returned
# returns names which are enumerable
ok 30 str is not enumerable
ok 31 obj is not enumerable
ok 32 arr is not enumerable
ok 33 bool is not enumerable
ok 34 num is not enumerable
ok 35 aNull is not enumerable
ok 36 undef is not enumerable
# throws an error for a non-object
ok 37 throws on a non-object
# works with an object instance
ok 38 returns an array
ok 39 Instance has expected keys
# works in iOS 5 mobile Safari
ok 40 has expected keys
# works in environments with the dontEnum bug (IE < 9)
ok 41 has expected keys
# shadowed properties
ok 42 troublesome shadowed properties are keys of object literals
1..42
# tests 42
# pass 42
# ok
TAP version 13
# is.arguments
ok 1 array is not arguments
ok 2 arguments is arguments
ok 3 sliced arguments is not arguments
ok 4 old-style arguments is arguments
# exports a "shim" function
ok 5 keys.shim is a function
# when Object.keys is present
ok 6 Object.keys is not overridden
ok 7 Object.keys is returned
# when Object.keys is not present
ok 8 Object.keys has been deleted
ok 9 Object.keys is overridden
ok 10 shim is returned
# working with actual shim
ok 11 keys shim is not native Object.keys
# works with an object literal
ok 12 returns an array
ok 13 Object has expected keys
# works with an arguments object
ok 14 arguments has length of 3
ok 15 returns keys of arguments
# works with a boxed primitive
ok 16 String object returns proper keys
ok 17 object string returns proper keys
ok 18 String object with extra properties returns proper keys
# works with an array
ok 19 returns an array
ok 20 Array has expected keys
# works with a function
ok 21 does not throw an error
ok 22 returns expected keys
# returns names which are own properties
ok 23 str should be returned
ok 24 obj should be returned
ok 25 arr should be returned
ok 26 bool should be returned
ok 27 num should be returned
ok 28 aNull should be returned
ok 29 undef should be returned
# returns names which are enumerable
ok 30 str is not enumerable
ok 31 obj is not enumerable
ok 32 arr is not enumerable
ok 33 bool is not enumerable
ok 34 num is not enumerable
ok 35 aNull is not enumerable
ok 36 undef is not enumerable
# throws an error for a non-object
ok 37 throws on a non-object
# works with an object instance
ok 38 returns an array
ok 39 Instance has expected keys
# works in iOS 5 mobile Safari
ok 40 has expected keys
# works in environments with the dontEnum bug (IE < 9)
ok 41 has expected keys
# shadowed properties
ok 42 troublesome shadowed properties are keys of object literals
1..42
# tests 42
# pass 42
# ok