Ad
  • Default User Avatar

    It`s true, my solution of .reduce doesn´t work propertly but when I changed to loop - boolean and be able to represent the null value, it worked perfectly. .)

  • Default User Avatar

    .reduce works fine, My question is if is something I missed in my solution ..but don´t worries, I´ll figure out!!
    Test Passed
    There are 500 sheeps in total, not NaN
    There are no sheeps at all, you counted NaN

  • Default User Avatar

    This comment is hidden because it contains spoiler information about the solution