diff --git a/lib/internal/errors.js b/lib/internal/errors.js index 4ddaec493f275b..e641347cc51058 100644 --- a/lib/internal/errors.js +++ b/lib/internal/errors.js @@ -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}