In this loop, “req.files.upload.length” returns file count when 0, or more than one files are uploaded, however when one file is uploaded “req.files.upload.length” returns file size. Why?In this loop, “req.files.upload.length” returns
In this loop, “req.files.upload.length” returns file count when 0, or more than one files are uploaded, however when one file is uploaded “req.files.upload.length” returns file size. Why?In this loop, “req.files.upload.length” returns