This should be easy, but i can't find any info on how to do it!

It's easy to put the contents of a variable into a string but how does one
place the name of a Javascript variable into a string??

The only solution i have found is to store the name separately as a string,
but this isn't very neat.