My code works as I intend it to, which is great, but given my understanding of Javascript it confusing me as to why it works. Let me quickly explain.
I am storing a c