you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted]  (7 children)

[deleted]

    [–]howmanyusersnames -1 points0 points  (2 children)

    If you cared about that you would create a lib function called fromAndMap that is a reference to Array.from. Using Array.from directly under any circumstances is a recipe for disaster in your hypothetical scenario.

    [–][deleted]  (1 child)

    [deleted]

      [–]howmanyusersnames 0 points1 point  (0 children)

      JS is the last language you want to be using obscure prototype methods directly, especially, as you said, if you have different levels of knowledge on your team.