Skip to content

Commit ea0e4a8

Browse files
Merge pull request ryanmcdermott#227 from open-node/master
'data' is never reassigned. Use 'const' instead.
2 parents 0969000 + 2ae57ca commit ea0e4a8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -439,8 +439,8 @@ function showEmployeeList(employees) {
439439
employees.forEach((employee) => {
440440
const expectedSalary = employee.calculateExpectedSalary();
441441
const experience = employee.getExperience();
442-
443-
let data = {
442+
443+
const data = {
444444
expectedSalary,
445445
experience
446446
};

0 commit comments

Comments
 (0)