SyntaxFix
Write A Post
Hire A Developer
Questions
var fileName = req.files.upload.name; var arr = fileName.split('.'); var extension = arr[length-1];