Skip to content

Commit

Permalink
Fix minor typos in inline docs (#14690)
Browse files Browse the repository at this point in the history
  • Loading branch information
mkaz authored and Soean committed Mar 28, 2019
1 parent 91b0c41 commit 95277f6
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const isSameTermName = ( termA, termB ) => termA.toLowerCase() === termB.toLower

/**
* Returns a term object with name unescaped.
* The unescape of the name propery is done using lodash unescape function.
* The unescape of the name property is done using lodash unescape function.
*
* @param {Object} term The term object to unescape.
*
Expand All @@ -57,7 +57,7 @@ const unescapeTerm = ( term ) => {
*
* @param {Object[]} terms Array of term objects to unescape.
*
* @return {Object[]} Array of therm objects unscaped.
* @return {Object[]} Array of term objects unescaped.
*/
const unescapeTerms = ( terms ) => {
return map( terms, unescapeTerm );
Expand Down

0 comments on commit 95277f6

Please sign in to comment.