Skip to content

Commit

Permalink
v8: use of TypedArray constructors from primordials
Browse files Browse the repository at this point in the history
PR-URL: #30740
Reviewed-By: Michaël Zasso <[email protected]>
Reviewed-By: James M Snell <[email protected]>
  • Loading branch information
Sebastien-Ahkrin authored and MylesBorins committed Dec 17, 2019
1 parent 698e0a2 commit 2b0e2c2
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions lib/v8.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,18 @@

const {
Array,
ArrayBuffer,
Float32Array,
Float64Array,
Int16Array,
Int32Array,
Int8Array,
ObjectPrototypeToString,
Symbol,
Uint16Array,
Uint32Array,
Uint8Array,
Uint8ClampedArray,
} = primordials;

const { Buffer } = require('buffer');
Expand Down

0 comments on commit 2b0e2c2

Please sign in to comment.