Tags » Javscript

Javascript Promises - A better way to complete your async operations

Promises, Promises, Promises…

If you are writing javascript regularly, you are probably already using callback functions. In complex Javascript applications callbacks can become deeply nested, and difficult to keep track of. 672 more words


javascript map filter reduce example

<!DOCTYPE html>
<html lang=”en”>
<meta charset=”UTF-8″>


var numbers = ;
var snumbers = numbers.map(function(i){
return i*i;

// it works like a loop ,return 1 4 9 16 25… 33 more words


loop through array in ES5

If you’re using an environment that supports the Array features of ES5 (directly or using a shim), you can use the new forEach function:

var a = ["a", "b", "c"];
a.forEach(function(entry) {
}); 399 more words

Sử dụng Trình duyệt Chrome cho việc biên tập CSS & JS

Chrome là trình duyệt được sử dụng phổ biến nhất hiện nay. Ngoài việc truy xuất các trang web ra nó còn cho phép người dùng chỉnh sửa trực tiếp các file css và javascript. 276 more words


Good User Interface and More...

We’re over the hump! Six more weeks and if we’re lucky they’ll cut the last one down to three days.

Our Meeting

We had one teammate absent (he’s moving) and my audio and video never finished connecting to our Google+ HOA, so our other teammate was the only presenter. 594 more words


How AngularJs Connects Remote Server Using $http(2/2)

As I told in last article, here we will discuss more points on $http service like header, cache and request and response transformation. I am coming direct to the point. 364 more words