Ad
  • Custom User Avatar

    I agree, but I also do not know how to overcome that hunger to fit an entire JS library into one line :D

  • 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