We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6da430f commit 1e70097Copy full SHA for 1e70097
core/engine/src/builtins/typed_array/object.rs
@@ -312,8 +312,8 @@ pub(crate) fn typed_array_exotic_prevent_extensions(
312
) -> JsResult<bool> {
313
let is_fixed_length = {
314
let ta = obj
315
- .downcast_ref::<TypedArray>()
316
- .js_expect("must be a TypedArray")?;
+ .downcast_ref::<TypedArray>()
+ .js_expect("must be a TypedArray")?;
317
318
ta.is_fixed_length()
319
}; // Note: this block ensures that the borrow of obj is dropped
0 commit comments