Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // in Node, string is UTF-8
- Buffer.byteLength("here is some text");
- // in Javascript
- new Blob(["here is some text"]).size
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement