Currently, I am following a tutorial in which the instructor inputs the following code snippet:
let PORT = process.env.PORT || 3000;
app.listen(PORT, () => {
console.log('Server beating 💓 on PORT ${PORT}');
})
However, he receives the output "Server beating <3 on PORT 3001"
When I use the same code, the ${ } syntax does not work as expected. Could it be because I am not on a Linux system? Should I be using a different approach?