User Name:

User Email:

This information will only be saved for the purposes of communicating with those who have provided this information voluntarily regarding our services.We will never sell your name or email address to anyone.
© 2021 - First Crazy Developer (Abhishek Kumar)

crazydeveloper Context vs Scope in JavaScript

Hi friends, today we will discuss and understand the most importand part 'Scope and Context' in JavaScript. Often people confuse when they talk about Scope and Context in JavaScript.
Scope use to the variables and functional access of JavaScript function, but when we talk about Context, it is the properties and method access of a JavaScript function.
When we analyze the Context vs Scope then we find that both are not same. I met lots of developers and noticed many of them confuse with these and be frank they mixed both to each other.

Read more »
11 June 2015

crazydeveloper JavaScript - null and undefined

Both null and undefined can be regarded as a special value that indicates "no value".

The null is a language keyword (in fact, it is a primitive ) which is used to indicate the expected lack of value. On the other hand, undefined is a predefined global variable that has a deeper meaning and is used to indicate an error-like, unexpected lack of value.

Read more »
09 June 2015

crazydeveloper Closures in JavaScript

When we talk about closure in JavaScript,it is a confusing topic as we compare this functionality to other language. Before going to understand the concept of closure as in single line I want to say it is gray area of JavaScript where function and variable scope intersect.
In all other language when function returns all local variable not available or we can say not accessible. But when we talk about JavaScript  the variable of a function are kept alive, even after the function returns.

Read more »
07 June 2015

crazydeveloper First step of Object Oriented JavaScript

First step of Object Oriented JavaScript:

Now a day’s when RIA design pattern is so popular. Good numbers of JavaScript Framework available in market which use to develop modern web application.
After this change it’s necessary to look at how we can manage our code in JavaScript, because this entire framework designed using with JavaScript. Today we will discuss the JavaScript with some object oriented conventions seen in the more strongly typed programming languages.

We create object in JavaScript with combination of Constructor & Prototype pattern. Before we are going to create this object we discuss why we need that or we can say what is benefit of this pattern?

Read more »
06 June 2015

crazydeveloper Method Chaining in JavaScript

Method chaining is a technique that can be used to simplify code in scenarios that involve calling multiple functions on the same object consecutively. This is an example of how you can use method chaining
when using jQuery.

Read more »
29 April 2015

crazydeveloper Bitwise operators in JavaScript

Bitwise operators treat their operands as a sequence of 32 bits (zeroes and ones), rather than as decimal, hexadecimal, or octal numbers. For example, the decimal number nine has a binary representation of 1001. Bitwise operators perform their operations on such binary representations, but they return standard JavaScript numerical values.

Read more »
23 April 2015

crazydeveloper Using the == versus the strict === operator

The == operator compares the values of its operands. If their values are equal, it returns true. If the operands have different data types, JavaScript attempts to convert these to an appropriate type then compares their values. Consider this:

Read more »
23 April 2015

Page 2 of 2

Become a Fan