Skip to content

Commit c5dc444

Browse files
committed
revise help for last separator
1 parent 5d91aa4 commit c5dc444

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/lib/index.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1246,11 +1246,10 @@ lib.ensureUniformFontSize = function(gd, baseFont) {
12461246
};
12471247

12481248
/**
1249-
* provide a human-readable lists with an optional ending separator such as A, B, C and D
1249+
* provide a human-readable list e.g. "A, B, C and D" with an ending separator
12501250
*
12511251
* @param {array} arr : the array to join
12521252
* @param {string} mainSeparator : main separator
1253-
* @param {string} lastSeparator : optional last separator
12541253
*
12551254
* @return {string} : joined list
12561255
*/

0 commit comments

Comments
 (0)