Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update lib/internal/errors.js
Browse files Browse the repository at this point in the history
Co-authored-by: Antoine du Hamel <[email protected]>
daeyeon and aduh95 authored 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
Original file line number Diff line number Diff line change
@@ -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}

0 comments on commit 8d580aa

Please sign in to comment.