4

stop using arrow function everywhere!!!!!!!

what that is mean ?

fns.reduce( (prev, fn) => fn(prev), input)

Are this is `fns.reduce` with two parameters
Or arrow function that return `input` variable.

take your time to visual parsing this crap

Comments
  • 0
    I tried reading this: https://developer.mozilla.org/en-US...

    And comparing to your code but I got lost lol

    I'm not a javascript dev anyways its just I use arrow functions in C# a lot, but it doesn't produce that output code
  • 1
    @gitpush that would mean that it's a list of functions and its reducing the functions list xD
  • 1
    @Codex404 I honestly have no clue lool

    But in C# that does not produce spaghetti code like that lol
  • 0
    That will apply each function in a list to the input in turn, returning the final value
Add Comment