mirror of
https://github.com/Samsung/escargot.git
synced 2026-06-22 10:01:50 +00:00
Implement part of Array.prototype.splice.
Fix setFastModeValue, deleteOwnProperty in Array Object.
This commit is contained in:
parent
dd3d5af4a3
commit
b38fc335b8
4 changed files with 85 additions and 3 deletions
|
|
@ -53,7 +53,7 @@ void ArrayObject::deleteOwnProperty(ExecutionState& state, const ObjectPropertyN
|
|||
uint32_t len = m_fastModeData.size();
|
||||
ASSERT(len == getLength(state));
|
||||
if (idx < len) {
|
||||
m_fastModeData[len] = Value(Value::EmptyValue);
|
||||
m_fastModeData[idx] = Value(Value::EmptyValue);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue