From: Feross Aboukhadijeh Date: Wed, 29 Aug 2018 02:41:26 +0000 (-0700) Subject: standard X-Git-Url: https://zoso.dev/?a=commitdiff_plain;h=b651e3a9f2b8394cdb241ae2f6b2d37dc335588d;p=buffer.git standard --- diff --git a/index.js b/index.js index 06b36e7..c1719db 100644 --- a/index.js +++ b/index.js @@ -46,7 +46,7 @@ function typedArraySupport () { // Can typed array instances can be augmented? try { var arr = new Uint8Array(1) - arr.__proto__ = {__proto__: Uint8Array.prototype, foo: function () { return 42 }} + arr.__proto__ = { __proto__: Uint8Array.prototype, foo: function () { return 42 } } return arr.foo() === 42 } catch (e) { return false