Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Apr 26th, 2018
81
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.20 KB
| None
|
0
0
raw
download
clone
embed
print
report
var a = 100
var b = 3
function divideWithRemainder(a, b){
return {
quotient: ~~(a / b),
remainder: a % b
};
}
console.log(divideWithRemainder(a, b));
// {
// quotient: 33,
// remainder: 1
// }
Add Comment
Please,
Sign In
to add comment
Public Pastes
decode-encode
Python | 37 sec ago | 1.27 KB
bpi.lua
Lua | 17 min ago | 3.88 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🤑
GetText | 28 min ago | 0.39 KB
Untitled
Python | 1 hour ago | 11.80 KB
konecne vse pro 4 figury a 993 very good
Python | 1 hour ago | 3.38 KB
Swimbot Error
Python | 2 hours ago | 0.67 KB
Ps99 Script
Lua | 2 hours ago | 0.08 KB
Decimal to Roman
PHP | 3 hours ago | 4.19 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!