Express calls next ();

function a(){
    var a1 = "Hello World!";
    next();
}

app.get("/b", a, function (req, res) {
  res.send(a1);
});

how should I get the A1 variable in the previous method;

Mar.04,2021

function a(){
    var a1 = 'Hello World!';
    next(a1);
}

app.get('/b', a, function (a1, req, res) {
  res.send(a1);
});
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b38849-2b483.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b38849-2b483.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?