diff options
Diffstat (limited to 'test/built-ins/Atomics/wait/nonshared-int-views.js')
-rw-r--r-- | test/built-ins/Atomics/wait/nonshared-int-views.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/built-ins/Atomics/wait/nonshared-int-views.js b/test/built-ins/Atomics/wait/nonshared-int-views.js index c4a5fb4b0..4f6143fc3 100644 --- a/test/built-ins/Atomics/wait/nonshared-int-views.js +++ b/test/built-ins/Atomics/wait/nonshared-int-views.js @@ -19,7 +19,7 @@ if (typeof BigInt !== "undefined") { } testWithTypedArrayConstructors(function(View) { - var view = new View(ab); + var view = new View(ab); - assert.throws(TypeError, (() => Atomics.wait(view, 0, 0, 0))); // Should fail even if waiting 0ms + assert.throws(TypeError, (() => Atomics.wait(view, 0, 0, 0))); // Should fail even if waiting 0ms }, int_views); |