Ask coding questions

← Back to all posts
What are Some of the possibilities can you Use for the Concat and Array.from Method?
Coding1000 (9)

I know that the concat method allows other arrays to link each other with the same value, and the Array.from() element creates an array of letters and numbers after writing some content inside the parameter but that's the only example I know from those to code, is their more on what those two elements can do than just that one thing

Commentshotnewtop
SixBeeps (2572)

Every function should really only serve one purpose. If the developers wanted something to do two things, they'd split them up into two different functions. As such, the only thing I can say is no; they won't give you any other functionalities other than what they were built for. They do, however, serve very useful purposes. It's the programmer's job to figure out when to use them and how.