()
| 2658 | } |
| 2659 | |
| 2660 | function typedArraySupport () { |
| 2661 | // Can typed array instances can be augmented? |
| 2662 | try { |
| 2663 | var arr = new Uint8Array(1) |
| 2664 | arr.__proto__ = { __proto__: Uint8Array.prototype, foo: function () { return 42 } } |
| 2665 | return arr.foo() === 42 |
| 2666 | } catch (e) { |
| 2667 | return false |
| 2668 | } |
| 2669 | } |
| 2670 | |
| 2671 | Object.defineProperty(Buffer.prototype, 'parent', { |
| 2672 | enumerable: true, |
no outgoing calls
no test coverage detected
searching dependent graphs…