medium.freecodecamp.org
Learn these neat JavaScript tricks in less than 5 minutes
7
An easy way of clearing or truncating an array without reassigning it is by changing its length property value: Chances are high that you’re already using configuration objects when you need to pass… Read full article