10
rocktim
4y

Here are some facts I found out recently when my linter threw some errors. Just wanted to share with the community. Add anything in the commnets that you wanna share that others don't know.

Comments
  • 3
    You can manipulate the array via the second and third arguments (index and array) on forEach and map loops.
  • 3
    The last statements in each explanation seems switched.
  • 2
    This is horrible. You forgot about Array.loopyGroupy
  • 2
    @Voxera
    Functionally it's right. Foreach enumerates and side effects then returns void, map is a method of the Functor type which operates on the data in a T -> R fashion.

    JavaScript blurs the line because it doesn't enforce immutability so the morphism's application is muddied.
  • 0
    What’s that editor?
  • 0
    @Sh4d0w ohhhh, it’s like a picture maker. That’s a really really cool concept, looks well done too.
  • 0
    It’s not that there is documentation and specifications for it.
  • 0
    @OmerFlame @highlight
    console.log("Don't forget this");
  • 0
Add Comment