From 50e15a080a78b88e18331206605304ec1ab6ed66 Mon Sep 17 00:00:00 2001 From: Feross Aboukhadijeh Date: Wed, 4 Nov 2020 11:13:45 -1000 Subject: [PATCH] standard --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 94c71ea..96a4acb 100644 --- a/index.js +++ b/index.js @@ -1802,7 +1802,7 @@ Buffer.prototype.fill = function fill (val, start, end, encoding) { // ============= // Simplified versions from Node, changed for Buffer-only usage -var errors = {} +const errors = {} function E (sym, getMessage, Base) { errors[sym] = class NodeError extends Base { constructor () { -- 2.34.1