Why the console.log in last use is working even though response is sent by get

    app.use((req, res, next) => {
    console.log('First middleware ran');
    console.log("host: ", req.hostname);
    console.log("path: ", req.path);
    console.log("method: ", req.method);
    next();
});

app.get('/home', (req, res) => {
    res.send('<h1>Home Page</h1>');
});

app.use((req, res) => {
    console.log('Second use middleware ran');
    res.send('<h1>About Page</h1>');
});

app.listen(3000, () => {
    console.log('Server is listening on port 3000');
});

I an confused it shouldn’t run the last use since get is sending a response, please explain why is it happening