Enhance the existing net salary calculation function by adding a month parameter (JavaScript Date object). The function should use this parameter to handle any month-specific rules or changes that may impact the calculation of net salary according to Vietnam labor regulations.
Acceptance Criteria:
The function correctly calculates net salary considering gross, dependentCount, region, and month.
The function accounts for any month-specific rules or changes in the calculation.
The project maintains 100% code coverage across all criteria.
JSDoc comments are updated to reflect the new month parameter.
A pull request is created with the enhanced function, updated tests, and a screenshot of the 100% code coverage report.
Enhance the existing net salary calculation function by adding a
month
parameter (JavaScriptDate
object). The function should use this parameter to handle any month-specific rules or changes that may impact the calculation of net salary according to Vietnam labor regulations.Acceptance Criteria:
gross
,dependentCount
,region
, andmonth
.month
parameter.