Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Square area
grigorb57
Mar 29th, 2022
(
edited
)
52
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
JavaScript
0.14 KB
| None
|
0
0
raw
download
clone
embed
print
report
function
squareArea
(
input
)
{
let area
=
Number
(
input
[
0
]
)
;
let result
=
area
*
area
;
console.
log
(
result
)
}
squareArea
(
[
5
]
)
;
Add Comment
Please,
Sign In
to add comment
Public Pastes
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🎁
GetText | 5 min ago | 0.38 KB
Test Komik
Dart | 7 min ago | 0.28 KB
A_1
C++ | 10 min ago | 3.36 KB
Untitled
Lua | 16 min ago | 1.12 KB
tttrl
Python | 25 min ago | 6.68 KB
ДЗ Очередь в магазине
C# | 37 min ago | 1.67 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🤑
GetText | 47 min ago | 0.39 KB
Untitled
C++ | 57 min ago | 2.24 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!