mirror of
https://github.com/tc39/test262.git
synced 2025-04-08 19:35:28 +02:00
Atomics: update Atomics.sub to match latest proposed spec change
https://github.com/tc39/ecma262/pull/1908#issuecomment-647614204
This commit is contained in:
parent
529cff8ee6
commit
729fa02951
@ -14,6 +14,6 @@ testWithAtomicsFriendlyTypedArrayConstructors(TA => {
|
||||
);
|
||||
|
||||
assert.sameValue(Atomics.store(view, 0, 1), 1, 'Atomics.store(view, 0, 1) returns 1');
|
||||
assert.sameValue(Atomics.sub(view, 0, 1), 0, 'Atomics.sub(view, 0, 1) returns 0');
|
||||
assert.sameValue(Atomics.sub(view, 0, 1), 1, 'Atomics.sub(view, 0, 1) returns 1');
|
||||
assert.sameValue(Atomics.load(view, 0), 0, 'Atomics.load(view, 0) returns 0');
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user