Skip to content

Commit 8d580aa

Browse files
daeyeonaduh95
andauthored
Update lib/internal/errors.js
Co-authored-by: Antoine du Hamel <[email protected]>
1 parent 19a90fb commit 8d580aa

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/internal/errors.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -896,6 +896,8 @@ function determineSpecificType(value) {
896896

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

0 commit comments

Comments
 (0)