Intermediate JavaScript Project - WorkAround

Hi, in this project, why do we not need to export the payGrades object in employee.js to workAround.js in order for the code to run?

Project link:

Hello @kotham. Welcome to the forum. If you read through the various functions in the employee.js file, you’ll see that they use values from the payGrades object to calculate the values returned. There are no direct references to the payGrades object in theworkAround.js file, so there is no need to export/import payGrades. All of the functions that depend on payGrades are located in the same employee.js file. Hopefully that made some sense.