Incorrect info in this article: https://www.freecodecamp.org/news/functional-programming-in-javascript-explained-in-plain-english/

I think there’s incorrect info about .slice() at the end of this article:


.slice parameters are zero-indexed. The returned copy of the array will be inclusive of the start index and exclusive of the end index.
Source: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/slice

Thank you for helping make FCC better. Bugs can be reported as GitHub Issues. Whenever reporting a bug, please check first that there isn’t already an issue for it and provide as much detail as possible.