6 Hidden JavaScript Gems You Probably Missed But Will Make You A Shining Star At Work
https://javanoscript.plainenglish.io/6-hidden-javanoscript-gems-you-probably-missed-but-will-make-you-a-shining-star-at-work-b57a3bcf8015
https://javanoscript.plainenglish.io/6-hidden-javanoscript-gems-you-probably-missed-but-will-make-you-a-shining-star-at-work-b57a3bcf8015
Medium
6 Hidden JavaScript Gems You Probably Missed But Will Make You A Shining Star At Work
These tricks are dozing in JavaScript since ES6
👍1
Ans. (a) Explanation: The for loop will result in appending 5 elements to list L. Range of the elements lies from [0, 98] – 10 = [-10, 88], which rules out option (d). The upper range is 98 because the step size is 2, thus option (c) and (b) are invalid.
👍1