Ad
  • Custom User Avatar

    Using a variable makes your solution longer... which seems like the opposite of what you're trying to achieve.

    var=; are 5 additional characters you could have excluded by using a function declaration.

  • Custom User Avatar

    That is a brilliant while loop. Wow. I never knew... coulda been ++i * 2 < integer to save half your looping I think, but still brilliant. Oh, and coulda been (integer % i) || matched.push(i) I think. Everybodies a critic, I wouldn't have come up with this, very nice.