From b9a24d589674b43689844d32ec84b248b8c4b95b Mon Sep 17 00:00:00 2001 From: Timothy Gu Date: Thu, 29 Mar 2018 13:22:33 -0700 Subject: [PATCH] buffer: removed unneeded FastBuffer constructor --- lib/buffer.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/lib/buffer.js b/lib/buffer.js index 45c1282f2d9503..fbe4b0eb3139b0 100644 --- a/lib/buffer.js +++ b/lib/buffer.js @@ -75,11 +75,7 @@ const { setupBufferJS } = internalBuffer; const bindingObj = {}; -class FastBuffer extends Uint8Array { - constructor(arg1, arg2, arg3) { - super(arg1, arg2, arg3); - } -} +class FastBuffer extends Uint8Array {} FastBuffer.prototype.constructor = Buffer; internalBuffer.FastBuffer = FastBuffer;