tests: Add test for sortOn with proto and virtual properties
This commit is contained in:
parent
cdccc2a2db
commit
cc9bdaaadb
|
@ -142,3 +142,11 @@ undefined
|
|||
// [1, 2].sortOn(undefined)
|
||||
1,2
|
||||
|
||||
// sortOn w/ __proto__ field
|
||||
o2
|
||||
o1
|
||||
|
||||
// sortOn w/ getter
|
||||
o2
|
||||
o1
|
||||
|
||||
|
|
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue