We were unable to load Disqus. If you are a moderator please see our troubleshooting guide.

DeVla30G • 1 year ago

There is a mistake in the output here - [2,3,4,5].map((num) => num + 6 ) instead of [9,10,11,12] it's [8, 9, 10, 11], next line - output must be false!, last output for [2, 3, 4, 5].reduce((acc,num) => acc+num ) should be 14

elfsvet • 1 year ago

Thank you. It's great to have it listed and described like that.

[2,3,4,5].some((num) => num > 5 ) // true , tests whether at least one element in the array passes the test implemented by the provided function.

might need to be updated to num>=5 or num > 4 to return true. In the case above will return false

QWERTYcakes • 1 year ago

this is great thank you

visionspider • 1 year ago

You failed to add cammelCase to the .findIndex() method...

Anonymous • 1 year ago

[2,3,4,5].reduce((acc,num) => acc+num ) // 14!!!

SuperSprite • 1 year ago

C HONTEUX