7 lines
159 B
Plaintext
7 lines
159 B
Plaintext
"use strict";
|
|
const addMonths = require("./addMonths.js");
|
|
function addYears(date, years) {
|
|
return addMonths(date, years * 12);
|
|
}
|
|
module.exports = addYears;
|