From: Feross Aboukhadijeh Date: Wed, 4 Nov 2020 21:13:45 +0000 (-1000) Subject: standard X-Git-Url: https://zoso.dev/?a=commitdiff_plain;h=50e15a080a78b88e18331206605304ec1ab6ed66;p=buffer.git standard --- 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 () {