Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f93513e

Browse files
committed
Fix argument ordering
1 parent bf74957 commit f93513e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ function addMonthToDate(month, date) {
292292
}
293293

294294
const date = new Date();
295-
addMonthToDate(date, 1);
295+
addMonthToDate(1, date);
296296
```
297297
**[⬆ back to top](#table-of-contents)**
298298

0 commit comments

Comments
 (0)