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 targos committed Jan 14, 2020
1 parent b00fcaf commit 74f7844
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 74f7844

Please sign in to comment.