Learn these useful tricks to make your code more concise. — There are some rarely used but useful tricks in JavaScript, learn them now! Just as titled, no more other words, let’s get straight into it! 1. Array manipulations: There are lots of array operations we do on a daily basis, here are some basic tricks to try out: a. Using reduce() to compute…