Hi,

I have 2 classes, one of which inherits another. I first create an instance of the Person class and populate its fields (test, items1, wrappedItems.wrap); the contents of the fields is alerted. After that I create a Developer and alert fields values; the inherited fields MUST be empty - but they are NOT (except for the "test" fields).

The example demonstrates the behaviour. My understanding is that the second alert should output all NULLs/empty values.

Code:
Ext.define('Person', {
    test: null,
    items1: [],
    wrappedItems: {
        wrap: null
    },

    constructor: function(name) {
        this.test = name;
        this.items1.push(name);
        this.wrappedItems.wrap = name;

        alert("Person: " + this.items1.toString() + ", " + this.test + ", " + this.wrappedItems.wrap);
        return this;
    }
});
Ext.define('Developer', {
    extend: 'Person',

    constructor: function() {
        alert("Developer: " + this.items1.toString() + ", " + this.test + ", " + this.wrappedItems.wrap);
        return this;
    }
});

var person = new Person("test123");
var dev = new Developer();