date function turning my date into a string instead of actual date format
<p>l'm having a problem with the date function turning every date of mine into a string, can someone show me how to concatinate the dates together without turning the date into a string, this is my code:</p>

<pre><code> var date = new Date();
 var day = date.getDate();
 var month = date.getMonth();
 var year = date.getFullYear();
 console.log(day + '/' + month + '/' + year);

and this is my result: "23/5/2016"

but the answer l am looking for is this: 23/5/2016
</code></pre>

<p>could someone please help.</p>