Skip to content

Commit

Permalink
Update lib/internal/errors.js
Browse files Browse the repository at this point in the history
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
  • Loading branch information
daeyeon and aduh95 committed Dec 9, 2022
1 parent 19a90fb commit 8d580aa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/internal/errors.js
Expand Up @@ -896,6 +896,8 @@ function determineSpecificType(value) {

/**
* Create a list string in the form like 'A and B' or 'A, B, ..., and Z'.
* We cannot use Intl.ListFormat because it's not available in
* --without-intl builds.
* @param {Array} array An Array
* @param {string} type The list type to be inserted before the last element.
* @returns {string}
Expand Down

0 comments on commit 8d580aa

Please sign in to comment.