Open console:

Code:
Ext.define('foo', {
    extend      : 'Ext.data.Model' }).prototype.fields.length
Expect 0, get 1. Nice candidate for a unit test.