Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Feb 19th, 2018
62
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
String.prototype.bytes = function() {
var count = 0;
for (var i = 0; i < this.length; i++) {
count += Math.ceil(encodeURIComponent(this.charAt(i)).length / 3)
}
return count;
};
Add Comment
Please,
Sign In
to add comment
Public Pastes
🤑 G2A.com Free Gift Card Guide May 2024 FIX 💰
GetText | 11 min ago | 0.38 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🤑
GetText | 25 min ago | 0.39 KB
cipher_tool_101
Python | 59 min ago | 15.28 KB
CBC Pitch Calculator
Lua | 1 hour ago | 3.14 KB
Vape UI
Lua | 1 hour ago | 69.28 KB
Voice pack
LScript | 1 hour ago | 6.47 KB
Esp32 Rainmaker controller
C++ | 1 hour ago | 8.39 KB
Untitled
CSS | 2 hours ago | 6.50 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!