Select a range of items from an array using array.slice() method in JavaScript #shorts #jsbyjs