Why `res.send("main page 2")` not overriding `res.send("main page 1")` when I request `localhost:3000` ?  

While execucing this code in NodeJS only `console.log("midddleware")` is calling from `app.use` method but not `res.send`. I wonder why it works like that.

```
const express = require('express')
const app = express()

app.get('/', function(req, res){
    res.send("main page 1")
})

app.use("/", function(req, res) {
    res.send("main page 2")
    console.log("midddleware")
})

app.listen(3000)

```