![We need to minimize the use of global variables in JavaScript | by Trung Anh Dang | JavaScript in Plain English We need to minimize the use of global variables in JavaScript | by Trung Anh Dang | JavaScript in Plain English](https://miro.medium.com/max/2576/1*SeezVgDqpFjj7vbLqIYJPQ.png)
We need to minimize the use of global variables in JavaScript | by Trung Anh Dang | JavaScript in Plain English
![Wes Bos on Twitter: "🔥 Wrap curly brackets around your console.log arguments to see the variable name when logged. This takes advantage of ES6 shorthand syntax… https://t.co/Dlfl7I6GOr" Wes Bos on Twitter: "🔥 Wrap curly brackets around your console.log arguments to see the variable name when logged. This takes advantage of ES6 shorthand syntax… https://t.co/Dlfl7I6GOr"](https://pbs.twimg.com/media/CxUf9XRWIAAQhHv.jpg)
Wes Bos on Twitter: "🔥 Wrap curly brackets around your console.log arguments to see the variable name when logged. This takes advantage of ES6 shorthand syntax… https://t.co/Dlfl7I6GOr"
![Wes Bos on Twitter: "🔥 Wrap curly brackets around your console.log arguments to see the variable name when logged. This takes advantage of ES6 shorthand syntax… https://t.co/Dlfl7I6GOr" Wes Bos on Twitter: "🔥 Wrap curly brackets around your console.log arguments to see the variable name when logged. This takes advantage of ES6 shorthand syntax… https://t.co/Dlfl7I6GOr"](https://pbs.twimg.com/media/CxUmqXtXAAEjtwI.jpg)
Wes Bos on Twitter: "🔥 Wrap curly brackets around your console.log arguments to see the variable name when logged. This takes advantage of ES6 shorthand syntax… https://t.co/Dlfl7I6GOr"
![Let's extend console.log(). Add new features to the console to… | by <Andrew Rymaruk /> | JavaScript in Plain English Let's extend console.log(). Add new features to the console to… | by <Andrew Rymaruk /> | JavaScript in Plain English](https://miro.medium.com/max/5578/1*pKS0_1rGg2MZO_lbYJrxeA.png)
Let's extend console.log(). Add new features to the console to… | by <Andrew Rymaruk /> | JavaScript in Plain English
![We need to minimize the use of global variables in JavaScript | by Trung Anh Dang | JavaScript in Plain English We need to minimize the use of global variables in JavaScript | by Trung Anh Dang | JavaScript in Plain English](https://miro.medium.com/max/1200/1*SeezVgDqpFjj7vbLqIYJPQ.png)