Witam serdecznie,
Chciałbym aby ktoś wytłumaczył mi dokładnie co krok po kroku wykonuje poniższy kod. Dziekuje za uwagę.
Passpack = new (function(){
this.extend = function () {
var a = arguments[0] || {};
if (typeof a == 'object') for (var j in a) this[j] = a[j];
};
this.extend(arguments[0]);
})({
name: 'Passpack',
version: 1.01,
date: '2008-06-20',
static: function(){
this.extend = function () {
var a = arguments[0] || {};
if (typeof a == 'object') for (var j in a) this[j] = a[j];
};
this.extend(arguments[0]);
if (typeof this._init === 'function') this._init();
}
});