Ad
  • Custom User Avatar

    Pretty much same solution. Just a couple of things:

    1. You don't have to type "w" explicitly, the type has already be inferred and cannot be anything else than string.
    2. You should name the variable declarative, like "word"
    3. You should not comment code which is very self explanatory like this, it's just creating unecessary noise.