Ad
  • Custom User Avatar

    Thanks for the comments that you have made in the code. I find extremely helpful for understanding concepts that
    I have of before but never truly understood them.

  • Custom User Avatar

    Man, I am kicking myself for not implementing the map function lol. I created a new array, a for loop, and a ternary operator to solve the problem, but magaed to do all that in one line. This is really good. Thanks for showing me a more efficent method.