Tag Archive

Tag Archives for " javascript "
1

Generators in JavaScript – Introduction

Introduction to generators A generator function is a special kind of function that was introduced in ES2015 (ES6). In JavaScript once we start a function it has to run to its completion. However, generator functions enable us to create functions that another code can reenter multiple times. Furthermore, nothing from outside of the generation function […]

Continue reading

Decorators with TypeScript

This entry is part 4 of 4 in the TypeScript series

Introduction JavaScript decorators are a special kind of declaration. Decorators can be attached to both class declaration and class method declaration. Furthermore, they can be attached to accessor and property declaration. Finally, they can also be attached to parameter declaration. If you come from backend world and you have worked with C# or Java you […]



Continue reading