Skip to content

Commit

Permalink
Update benchmark/worker/atomics-wait.js
Browse files Browse the repository at this point in the history
Co-authored-by: Rich Trott <[email protected]>
  • Loading branch information
codebytere and Trott authored Aug 10, 2021
1 parent 0f98e7e commit 56f1396
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion benchmark/worker/atomics-wait.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const bench = common.createBenchmark(main, {

function main({ n }) {
if (typeof SharedArrayBuffer === 'undefined') {
throw new Error('SharedArrayBuffers must be enabled in order to run this benchmark');
throw new Error('SharedArrayBuffers must be enabled to run this benchmark');
}

const i32arr = new Int32Array(new SharedArrayBuffer(4));
Expand Down

0 comments on commit 56f1396

Please sign in to comment.