Search e01
One query across the encyclopedia, books, dictionary, papers, Wikidata and the developer library. Every hit carries its source.
6 results across 6 corpora for GeneratorFunction.
Developer library 6
Firefox 26 release notes for developers
been updated to allow parameters without defaults after default parameters, such as `function f(x=1, y)`. See [Firefox bug 777060](https://bugzil.la/777060). - GeneratorFunction is implemented ([Firefox bug 904701](https://bugzil.la/904701)). ### Interfaces/APIs/DOM - Make the last argument (doctype) to DOMImplementation.createDocument optional ([Firefox bug 909859](https://bugzil.la/909859)). - Implement the new e
JavaScript reference
fer - DataView - Atomics - JSON ### Managing memory - WeakRef - FinalizationRegistry ### Control abstraction objects - Iterator - AsyncIterator - Promise - GeneratorFunction - AsyncGeneratorFunction - Generator - AsyncGenerator - AsyncFunction - DisposableStack - AsyncDisposableStack ### Reflection - AbstractModuleSource - Reflect - Proxy ### Internationalization - Intl - Intl.Collator - Intl.DateTimeFormat -
function*
/Functions#function_parameters). - `statements` - : The statements comprising the body of the function. ## Description A `function*` declaration creates a GeneratorFunction object. Each time a generator function is called, it returns a new Generator object, which conforms to the [iterator protocol](/docs/Web/JavaScript/Reference/Iteration_protocols#the_iterator_protocol). The generator function's execution is _s
Standard built-in objects
ol abstractions can help to structure code, especially async code (without using deeply nested callbacks, for example). - Iterator - AsyncIterator - Promise - GeneratorFunction - AsyncGeneratorFunction - Generator - AsyncGenerator - AsyncFunction - DisposableStack - AsyncDisposableStack ### Reflection - AbstractModuleSource - Reflect - Proxy ### Internationalization Additions to the ECMAScript core for language-
Generator
created by generator functions. This object is often stylized as `Generator.prototype` to make it look like a class, but it should be more appropriately called GeneratorFunction.prototype.prototype, because `GeneratorFunction` is an actual JavaScript entity. To understand the prototype chain of `Generator` instances, see GeneratorFunction.prototype.prototype. ## Instance properties These properties are defined on `
Function
ction`](/docs/Web/JavaScript/Reference/Statements/function) - [`function` expression](/docs/Web/JavaScript/Reference/Operators/function) - AsyncFunction - AsyncGeneratorFunction - GeneratorFunction - Functions