avitoholix

Square Area.js

Jun 5th, 2022 (edited)
180
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function squareArea(arg){
  2.     console.log('Square area = ' + Math.pow(parseInt(arg[0]), 2));
  3. }
  4. squareArea([5]);
Advertisement
Add Comment
Please, Sign In to add comment