Should `getFirst()` and `getLast()` return empty object instead of undefined for easier chaining of updates?
The issue
db.cars.where('model').is('F5').getFirst().model = 'F150'
Will throw if undefined
is returned but would evaluate to a throwaway operation if it returned an empty object.
See https://github.com/small-tech/jsdb/issues/5#issuecomment-724099219