Salve a tutti.
Stò analizzando un codice javascript(trovato in rete) che è scritto in modo totalmente diverso dal mio solito stile di programmazione.
Per caso sapreste spiegarmi o meglio darmi dei link dove trovare una guida o un corso per diventare in grado di leggerlo e comprenderlo????
Grazie
Cordiali Saluti
codice:
e.define(["/lib/inject", "ded813a503"], function (e, t, n) {
(function () {
console.log("Sto eseguendo localizzazione banner");
var e, n, i;
e = {
0: {
width: 728,
height: 90
},
1: {
width: 300,
height: 250
},
2: {
width: 160,
height: 600
}
};
i = {
selector: "body",
location: "else",
zoneId: 27,
size: 0
};
n = "data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==";
t.exports = function (t) {
var a, r, s, o, l, u, c, d, f, p, h, g, m, y, b, v, _, x;
o = (m = t.domainOptions) != null ? m : i;
r = (y = o.css) != null ? y : "";
h = (b = t.zoneId) != null ? b : o.zoneId;
f = e[t.size || o.type || o.size];
c = o.location || "else";
l = (v = t.icon) != null ? v : n;
d = (_ = (x = t.selector) != null ? x : o.selector) != null ? _ : "body";
s = t.document;
ecc ecc ecc ... :)