Skip to main content

generator_instance_proto

Function generator_instance_proto 

Source
pub fn generator_instance_proto(func: &Value) -> Option<Value>
Expand description

The prototype a generator object inherits from: its function’s prototype when that is an object, else the intrinsic %GeneratorPrototype% / %AsyncGeneratorPrototype% (27.5.3.x OrdinaryCreateFromConstructor with the intrinsic fallback).