Obiektowe literały i literały tablicy w JavaScript
var Swapper = {
// Swapper is object literal
// and images is array literal
images: ["smile.gif", "grim.gif", "frown.gif", "bomb.gif"],
pos: { // nested object literal
x: 40,
y: 300
}
};
Avenger