Skip to main content

hof_put

Function hof_put 

Source
fn hof_put(
    it: &mut Interp,
    target: &Value,
    idx: u64,
    v: Value,
) -> Result<(), Value>
Expand description

結果の配列へ添字 idx の値を置く(実配列なら詰めて持つ。そうでなければ CreateDataPropertyOrThrow)。