tests: Add test for sortOn with proto and virtual properties

This commit is contained in:
Mike Welsh 2022-04-17 21:37:49 -07:00
parent cdccc2a2db
commit cc9bdaaadb
3 changed files with 8 additions and 0 deletions

View File

@ -142,3 +142,11 @@ undefined
// [1, 2].sortOn(undefined)
1,2
// sortOn w/ __proto__ field
o2
o1
// sortOn w/ getter
o2
o1