Skip to main content

call_iterator_method

Function call_iterator_method 

Source
pub fn call_iterator_method(
    iter_fn: &Value,
    src: &Value,
) -> Result<Value, String>
Expand description

GetIteratorFromMethod (7.4.3): call @@iterator on src and refuse a result that is not an object, with V8’s wording, before anything reads next off it.