DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
js get string byte size
// JavaScript (new Blob(['20€'])).size; // 5 // Node js Buffer.from('20€').length; // 5
PREVIOUS
NEXT
Tagged:
#js
#string
#byte
#size
ADD COMMENT
Topic
COMMENT
Name
2+2 =
Submit