Uploading multiple files with multer in express

I was trying to allow uploading of multiple files to my express app but I fell into an error.Whats wrong with this code?
var storage = multer.diskStorage(
{
destination : function(req,file ,cb){
cb(null, "./uploade…