title: How can I log this function constructor value?
body: <p>I work with JS in Brackets, and when I refresh this section, the value of the Carbo is correct in the console. But, when I try this in that console.log, the google console just write ,undefined'.</p>
  
  <p><strong>Why</strong> and how can i solve this problem?</p>
  
  <p>Here is my lil' practice program.</p>
  
  <pre><code>var Foods = function(name, priceWithDollar, makingTimeMin) {
      this.name = name;
      this.priceWithDollar = priceWithDollar;
      this.makingTimeMin = makingTimeMin;
  }
  
  Foods.prototype.priceChangeToHUF = function() {
      console.log(this.priceWithDollar * 326);
  }
  
  var carbonara = new Foods('Carbonara', 10.91, 10);
  
  carbonara.priceChangeToHUF();
  console.log('The carbonara\'s price is ' + carbonara.priceChangeToHUF() + '.');
  </code></pre>
  
  <p>Thank you for the help.</p>
  
  <p>Adam</p>
  
  <p><strong>!One other thing!</strong>
  Just right now, when I wrote these lines, something came to my mind.
  That value of the prototype (326) is actually not dynamic.
  But I have an idea. I have to write that actually value from the first google page, when i check the ,1 dollar to huf'.</p>
  
  <p>How do I get started?</p>
  
  <p>Thanks!</p>