JavaScript
X-Team's thoughts, brought to you from around the world.

Recent JavaScript Posts

Untangling javascript callbacks

Untangling Callbacks Promises, generators, fibers… Extremely clever people have gone to great lengths to avoid using callbacks in javascript. Writing callback-heavy javascript can be very challenging and once you’ve gone beyond 5 or so levels of callback-nesting it’s reasonable to start asking whether there might be a better way. But consider that callbacks aren’t a…

JavaScript ES5 array iteration methods explained

Although JavaScript ECMAScript 6 is just around the corner, there’re still plenty of developers that are not aware of possibilities given to them in ES5 edition, in terms of arrays-based operations. Let’s go through all seven of them and explain how they work one-by-one. New ES5 methods forEach Let’s start with the basics: the forEach…

Nested controllers, ngInclude & $scope

When working with AngularJS, $scope will have a pivotal role in your work and when starting out you might run into roadbumps unless you have a rough idea about how to work with it. I’ll aim to explain a couple issues about $scope and ngInclude that I’ve run into. Below you’ll learn how to avoid targeting $parent or $child scopes when using ng-include, and how to debug…

Loading more...

Hire Developers You Can Trust

Hire X-Team