Showing posts with label six week industrial training in delhi. Show all posts
Showing posts with label six week industrial training in delhi. Show all posts

Monday, 28 December 2015

Learn JavaScript | Some Important tips for Javascript

As we know that, JavaScript is one of the programming languages in the world.

In this blog I mention some points for Java Script


1.      Don’t forget var keyword when assigning a variable’s value for the first time.      



2.     use === instead of ==

3.     undefined, null, 0, false, NaN, '' (empty string) are all falsy.

4.     Use Semicolons for line termination

5.     Create an object constructor

6.     Be careful when using typeof, instanceof and constructor.

7.     Create a Self-calling Function

8.     Get a random item from an array

9.     Get a random number in a specific range

10.   Generate an array of numbers with numbers from 0 to max


If You want to learn more about JavaScript then 
Register for FREE Demo Class on 

                                             www.ctcdc.in
Older Posts Home