Advertisement
Spocoman

03. Square Area

Aug 21st, 2024
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function squareArea (input) {
  2.     let side = input[0];
  3.     let area = side * side;
  4.     console.log(area);
  5. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement