JavaScript make squaring

16.23 Muhamad Akbar Bin Widayat 0 Comments


var square = function (x) {
  x = x * x;
  return x;
};

square(3);

0 komentar:

terimakasih komentarnya