diff --git a/lib/internal/histogram.js b/lib/internal/histogram.js index bd789236815089..14199b03c5096e 100644 --- a/lib/internal/histogram.js +++ b/lib/internal/histogram.js @@ -9,12 +9,6 @@ const { Symbol, } = primordials; -const { - codes: { - ERR_ILLEGAL_CONSTRUCTOR, - } -} = require('internal/errors'); - const { Histogram: _Histogram } = internalBinding('performance'); @@ -30,6 +24,7 @@ const { ERR_INVALID_ARG_VALUE, ERR_INVALID_ARG_TYPE, ERR_OUT_OF_RANGE, + ERR_ILLEGAL_CONSTRUCTOR, }, } = require('internal/errors');