Dapatkan ukuran array dalam bytes javascript
const myArray = [{test: 1234, foo: false, bar: true}];
console.info(new Blob([JSON.stringify(myArray)]).size); // 38
Muhammad Hassan