Ext.applyIf

// There may be an existing object:
var point = point || {};
var default = {x: 0, y: 0};
Ext.applyIf(point, default);