medium.freecodecamp.org
ES6 tips and tricks to make your code cleaner, shorter, and easier to read!
21
Template literals make working with strings so much easier than before. They're started with a back tick, and can have variables inserted using ${variable}. Compare these two lines of code: This… Read full article