Ad
  • Custom User Avatar

    Everyone wants to boil JavaScript down to one-liners but doing that will force you to violate the DRY principle. The conversion to LC in this code should have been stored in a scoped variable so you do not have to repeat yourself and spend the extra cycles converting the string multiple times. Sometimes more is better.

  • Custom User Avatar

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

  • Custom User Avatar

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