Skip to main content

array_like_items

Function array_like_items 

Source
pub(crate) fn array_like_items(it: &mut Interp, v: &Value) -> Vec<Value>
Expand description

配列でない array-like オブジェクト(length + 添字プロパティ)を Vec<Value> に 展開する。巨大長での OOM を防ぐため MAX_DENSE_ARRAY_LEN を上限とする。