[1, 2, 3, 4 , 5].map(function (x){
    return x* x;
});
//Wynik:  [1,4,9,16,25]