Skip to content

Commit e06b519

Browse files
authored
Reword "clue" sentence
This sounds more natural and professional
1 parent 8c31fae commit e06b519

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

1-js/02-first-steps/14-function-basics/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ So, it effectively becomes an empty return. We should put the value on the same
334334
335335
## Naming a function [#function-naming]
336336
337-
Functions are actions. So their name is usually a verb. It should briefly, but as accurately as possible describe what the function does. So that a person who reads the code gets the right clue.
337+
Functions are actions. So their name is usually a verb. It should briefly, but as accurately as possible, describe what the function does, so that someone reading the code gets an indication of what the function does.
338338
339339
It is a widespread practice to start a function with a verbal prefix which vaguely describes the action. There must be an agreement within the team on the meaning of the prefixes.
340340

0 commit comments

Comments
 (0)