5. Count By Multiple | JavaScript | Coding Interview | Challenge

Published: 02 January 2020
on channel: askFaran
291
15

#Challenge

You are given two arguments:
the `length` of elements that should be returned in an array with multiples of `x`.
You must return the results as an array.

Example:
countByMultiples(10, 2) // returns [2,4,6,8,10,12,14,16,18,20]
countByMultiples(5, 3) // returns [3,6,9,12,15]

#javascript #codingchallenge #interviewquestions #es6 #challenge #interview #function #countbymultiple


On this page of the site you can watch the video online 5. Count By Multiple | JavaScript | Coding Interview | Challenge with a duration of hours minute second in good quality, which was uploaded by the user askFaran 02 January 2020, share the link with friends and acquaintances, this video has already been watched 291 times on youtube and it was liked by 15 viewers. Enjoy your viewing!