Skip to content

Commit 47dbe9d

Browse files
AnnaNeeryanmcdermott
authored andcommitted
Explicit function name (ryanmcdermott#177)
* Explicitly describing a function ryanmcdermott#175 * Keeping consistency by using singular nouns
1 parent 49df233 commit 47dbe9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,7 @@ function showManagerList(managers) {
435435

436436
**Good:**
437437
```javascript
438-
function showList(employees) {
438+
function showEmployeeList(employees) {
439439
employees.forEach((employee) => {
440440
const expectedSalary = employee.calculateExpectedSalary();
441441
const experience = employee.getExperience();

0 commit comments

Comments
 (0)