Skip to content
Snippets Groups Projects
Commit bb369e1e authored by André Bargull's avatar André Bargull
Browse files

Fix typo in TypedArray test with SharedArrayBuffers

parent c16359bc
No related branches found
No related tags found
No related merge requests found
......@@ -69,7 +69,7 @@ testWithTypedArrayConstructors(function(TA) {
assert(compareArray(sample, [1, 2, 42, 43]), "sample is SAB-backed, offset: 2, result: " + sample);
assert.sameValue(result, undefined, "returns undefined");
var sab1 = new SharedArrayBuffer(2 * TA.BYTES_PER_ELEMENT);
var sab1 = new SharedArrayBuffer(2 * other.BYTES_PER_ELEMENT);
src = new other(sab1);
src[0] = 42;
src[1] = 43;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment