Why am I not able to increment the day by clicking on +?
var dayLength = 1000*3600*24;
var current = new Date();
console.log(current);
$('button').on('click', function(){
var a = new Date((new Date()).valueOf() + dayLength);
console.log(a);
});
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<button class="btn btn-default">+</button>