title: How can I delay a function with parameter?
body: <p>I am trying to make a game, where the machine takes a while to respond, so the user actually knows the machine is 'deciding' its move.
  I need to use the <code>setTimeout()</code> method, but I want to specify a parameter to my function.</p>
  
  <p>Example: <code>setTimeout(myFunction('p'), 1000);</code>.
  The problem is that when I specify the parameter, the function runs perfectly fine, but there´s no delay.</p>