Byte size of String in JavaScript
I am trying to understand memory used by Strings & Arrays. As per this helpful question: How many bytes in a JavaScript string? Blob is a great way of checking byte size of Strings: new Blob(['a']).size -> 1 byte But…