Tags » Javascript

What is closure in javascript

function sayHello(name) {
var text = ‘Hello ‘+ name;
var sayAlert = function() { alert(text); }
sayAlert();
}

sayHello(“salahuddin”);

The above code has a closure because the anonymous function function() { alert(text); } is declared inside another function, sayHello(). 14 more words

JavaScript

Variable scope in javascript

// Those are both global
var fullName = “salahuddin munchi”;
firstName = “salahuddin”; // without var variable will be global

Var lastName; // it is global if you just declare it and don’t assign a value; 12 more words

JavaScript

Nuevo rediseño de Twitter para Web

Justo hoy recibí la actualización en Web con el nuevo rediseño para Twitter, ahora con 100% más parecido a Facebook en el diseño y las notificaciones. 545 more words

Negocios Y Estrategia

Start Playing with ku4collections!

It’s insanely simple to start playing with ku4collections, a NoSQL data store for your font-end code. Complete with query capabilities, including: find, insert, update, remove and even… 80 more words

HTML5

Embrace the Suck

In my journey back to geekdom, I’m remembering how much I really missed learning a new skill. I’m learning JavaScript on my own, and Java for work. 917 more words

Nightcap - April 22

SSL and The New York Times are discussed in The Nightcap – Radar

News

Markup Languages - w1d2

Day 2 began with a recap of the basic mark up languages of the web. Our browsers can understand HTML, CSS, and JavaScript. Your browser can perform a few actions. 370 more words