mirror of
https://github.com/pjh456/OxideJS.git
synced 2026-10-25 11:11:11 +08:00
feat: TypedArray 第一批解锁(%TypedArray% 构造器、原型访问器、of/from、bind 绑参、harness)
This commit is contained in:
@@ -108,7 +108,10 @@ impl Vm {
|
||||
}
|
||||
|
||||
if getter_obj.native_fn().is_some() {
|
||||
let result = self.call_function_sync(getter, receiver, &[])?;
|
||||
let result = match self.call_function_sync(getter, receiver, &[]) {
|
||||
Ok(v) => v,
|
||||
Err(err) => self.raise_call_error(&err)?,
|
||||
};
|
||||
self.regs[target_reg as usize] = result;
|
||||
return Ok(false);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user