How can I tell when a function was called for the first time in JavaScript? : <p>I'm working on a memory game, and  need to start a timer after clicking the first card. 
How do you do that?</p>

<p>Thanks</p>
