Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Sep 21st, 2018
80
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.21 KB
| None
|
0
0
raw
download
clone
embed
print
report
var power = function (base, exponent) {
if(exponent === 0) {
return 1;
} else {
var result = 1;
for (var i = 0; i < exponent; i++) {
result = result * base;
}
return result;
}
};
Add Comment
Please,
Sign In
to add comment
Public Pastes
Mad
PHP | 22 min ago | 0.04 KB
🤑 G2A.com Free Gift Card Guide Apr 2024 FIX 🤑
GetText | 49 min ago | 0.39 KB
Untitled
Python | 54 min ago | 3.04 KB
data906
JSON | 54 min ago | 0.64 KB
🤑 G2A.com Free Gift Card Guide Apr 2024 FIX 💰
GetText | 57 min ago | 0.38 KB
input_reader.cpp
C++ | 1 hour ago | 6.23 KB
Untitled
Python | 1 hour ago | 10.75 KB
CREATE TABLE R2
MySQL | 2 hours ago | 0.26 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!