diff --git a/boa_engine/src/builtins/typed_array/mod.rs b/boa_engine/src/builtins/typed_array/mod.rs index 3ad9a36c3eb..597a3f74672 100644 --- a/boa_engine/src/builtins/typed_array/mod.rs +++ b/boa_engine/src/builtins/typed_array/mod.rs @@ -401,7 +401,7 @@ impl TypedArrayKind { /// Returns `true` if this kind of typed array supports `Atomics` operations /// - /// Equivalent to `IsUnclampedIntegerElementType(type) is false and IsBigIntElementType(type) is false`. + /// Equivalent to `IsUnclampedIntegerElementType(type) is true || IsBigIntElementType(type) is true`. pub(crate) fn supports_atomic_ops(self) -> bool { match self { TypedArrayKind::Int8