title: Short function which i don't understand?
body: <p>I'm studying in the 1st year at a university in Italy. We started studying js on different online courses...
  I have to do an exercise in a few days, and I know, it's very simple.
  I have a function &quot; max (a,b) &quot; and I have to print out which is the biggest number, if A or B.
  I created a function, and I don't know how to give them a value in input from my keyboard, and I also don't know how to print out a string like : &quot;the biggest number is (return A) or (b).</p>
  <pre><code>    function max(a,b) {
  
     a = Number(prompt(&quot;INSERISCI IL PRIMO NUMERO: &quot;));
     b = Number(prompt(&quot;INSERISCI IL SECONDO NUMERO: &quot;));
  
     if (a &gt; b) {
     console.log()
      }
  
      }
  </code></pre>
  <p>obv it doesn't work because A and B were declared first at the beginning, but I don't know how to give them a value...
  thank you guys, I'm waiting for updates..&quot;</p>