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:
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
could someone please help.