mirror of
https://github.com/pjh456/OxideJS.git
synced 2026-10-25 19:21:11 +08:00
feat: rest 参数(function f(...args)),实参区收集数组
This commit is contained in:
@@ -242,6 +242,7 @@ impl Inst {
|
||||
| OpCode::NEW_OBJECT
|
||||
| OpCode::NEW_ARRAY
|
||||
| OpCode::CREATE_ARGUMENTS
|
||||
| OpCode::CREATE_REST_ARRAY
|
||||
| OpCode::NOP => {}
|
||||
// 变量读写:LOAD_VAR/STORE_VAR/CELL_GET 读 a(None→0)
|
||||
OpCode::LOAD_VAR | OpCode::STORE_VAR | OpCode::CELL_GET => {
|
||||
|
||||
Reference in New Issue
Block a user