Write a function calculateTotalBytes(packetSizes) using a for...of loop.
calculateTotalBytes(packetSizes)
for...of
Total bytes: 1420 [✓] For-of loop verified (Time: 0.035s, Memory: 24.3 MB)