Fix typo in TypedArray test with SharedArrayBuffers

This commit is contained in:
André Bargull 2017-02-10 16:54:32 +01:00
parent c16359bc3c
commit bb369e1e7c
1 changed files with 1 additions and 1 deletions

View File

@ -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;