how format file size human use javascript

Test Or Use https://stackoverflow.com/questions/10420352/converting-file-size-in-bytes-to-human-readable-string Convert size in bytes to human readable format (JavaScript)