20. Write down the syntax of creating a new date object?

The syntax for creating new data object:

$scope.newDate=new Date();

Leave a Reply