Skip to content

Commit

Permalink
Explicit function name (ryanmcdermott#177)
Browse files Browse the repository at this point in the history
* Explicitly describing a function ryanmcdermott#175

* Keeping consistency by using singular nouns
  • Loading branch information
AnnaNee authored and ryanmcdermott committed Jan 28, 2017
1 parent 49df233 commit 47dbe9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ function showManagerList(managers) {

**Good:**
```javascript
function showList(employees) {
function showEmployeeList(employees) {
employees.forEach((employee) => {
const expectedSalary = employee.calculateExpectedSalary();
const experience = employee.getExperience();
Expand Down

0 comments on commit 47dbe9d

Please sign in to comment.