Update 2013-11-28: There wonât be generator arrow functions in ECMAScript 6 (details). In ECMAScript 5, one creates all callable entities via functions. ECMAScript 6 has more constructs for doing so. This blog post describes them. The status quo: ECMAScript 5 In ECMAScript 5, functions do triple duty: As normal functions: you can directly call functions. As methods: you can assign a function to th
{{#tags}}- {{label}}
{{/tags}}