Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function days(input) {
- let date = new Date(input[0]);
- date.setDate(date.getDate() + 1000);
- console.log(date);
- }
- days(['1995-02-25']);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement