skanda890 / CodePark

Require template literals instead of string concatenation JS-0246
Anti-pattern
Minor
a month agoa month old
Unexpected string concatenation
17
18// Define a route for the root URL
19app.get('/', (req, res) => {
20  res.sendFile(__dirname + '/public/index.html');21});
22
23io.on('connection', (socket) => {