assert.compareArray(getCalls,["length","constructor","0","1","2","3","length","0","1","4"],'getProperty by .flat should occur exactly once per property and once for length and constructor');
assert.compareArray(hasCalls,["0","1","2","3","0","1","4"],'hasProperty by .flat should occur exactly once per property');
assert.compareArray(getCalls,["length","constructor","0","1","2","3","length","0","1","4"],'getProperty by .flatMap should occur exactly once per property and once for length and constructor');
assert.compareArray(hasCalls,["0","1","2","3","0","1","4"],'hasProperty by .flatMap should occur exactly once per property');