JavaScript
Semicolons

by Benny Neugebauer

require('dotenv').config()

(() => {
  console.log('There will be an error...')
  // TypeError: require(...).config(...) is not a function
})()

require('dotenv').config();

(() => {
  console.log('Semicolons can save you from unexpected errors.');
})()