Skip to main content

require_new_event

Function require_new_event 

Source
fn require_new_event(
    it: &mut Interp,
    name: &str,
    this: Value,
) -> Result<ObjRef, Value>
Expand description

new 呼び出し(または派生クラス super())であることを検証し、this オブジェクトを返す。