Javascript

Testing Angular with Jasmine and Karma (Part 1) — step-by-step Javascript tutorial on Progressive Robot

Testing Angular with Jasmine and Karma (Part 1)

In this tutorial we will be building and testing an employee directory for a fictional company. This directory will have a view to show all of our users along with another view to serve as a profile page for individual users. Within this part of the tutorial we’ll focus on building the service and its tests that will be used for these users.

Read more
Understanding Generators in JavaScript — step-by-step Javascript tutorial on Progressive Robot

Understanding Generators in JavaScript

In ECMAScript 2015, generators were introduced to the JavaScript language. A generator is a process that can be paused and resumed and can yield multiple values. They can maintain state, providing an efficient way to make iterators, and are capable of dealing with infinite data streams. In this article, we’ll cover how to create generator functions, how to iterate over Generator objects, the difference between yield and return inside a generator, and other aspects of working with generators.

Read more
CHAT