Since you have `WidgetViewModel.prototype.getProperties = function(){...}` in the parent class, it will work fine (I just tested with some dummy code). You're probably right that it wouldn't work if the parent used Object.defineProperties.