Introduction
JavaScript is a client-side scripting language basically used for validation. JavaScript at first used by Netscape Navigator. It is used to make well applications fast. JavaScript is a case sensitive language.
- Internal JavaScript
- Inline JavaScript
- External JavaScript
Syntax of JavaScript
Output
Document.write(); or
Data types in JavaScript
- <script language=” JavaScript”>
- ------------------------------
- --------------------------------
- </script>
Document.writeln();
- String
- Number
- Boolean
- Array
- Object
- Null
- Undefined
Variables in JavaScript
JavaScript variable can be assign with var keyword or without var keyword.
Like- var x; or x;
Example
Output: hello c# corner
Conditional statement
If-else
Switch statement
Looping in JavaScript
Output
Array in JavaScript
Output : 10,c#corner,10.50,true,sanjay







Sanjay SinghPosted Aug 13, 2014, 4:41 AM EDT
thanks for reading my blog Dileep sir... i am trying to give full content in my next blogs...
DILEEP SINGHPosted Aug 12, 2014, 11:10 AM EDT
content is in sort sir...........please give full content
Sanjay SinghPosted Jul 22, 2014, 10:21 PM EDT
okay sir... thanks
Gopi ChandPosted Jul 22, 2014, 9:08 PM EDT
Okay..!! then all right..:)
Sanjay SinghPosted Jul 20, 2014, 10:26 PM EDT
thanks sir... but i posted this in article but it published as blog..
Gopi ChandPosted Jul 20, 2014, 8:08 PM EDT
Nice article....you should post the lengthy content like this in article.