JavaScript

How To Submit AJAX Forms with JQuery — step-by-step Javascript tutorial on Progressive Robot

How To Submit AJAX Forms with JQuery

While vanilla JavaScript continues to catch up to JQuery in terms of capability and cross-browser consistency, handling form submissions in JavaScript can still be a minefield of gotchas and inconsistency.

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
Understanding This, Bind, Call, and Apply in JavaScript — step-by-step Javascript tutorial on Progressive Robot

Understanding This, Bind, Call, and Apply in JavaScript

The `this` keyword is a very important concept in JavaScript, and also a particularly confusing one to both new developers and those who have experience in other programming languages. In JavaScript, `this` is a reference to an object. In this article, you’ll learn what `this` refers to based on context, and you’ll learn how you can use the `bind`, `call`, and `apply` methods to explicitly determine the value of `this`.

Read more
CHAT