JavaScript Global variables Within Function
How declare variable function inside and run variable value other function?
Am I use window.object();
Sample code bellow:
function a(){
var x=”The Largest Number 1”;
}
function b(){
alert( x);
}
JavaScript Data Types:
JavaScript provides different types Data Types of Values
JavaScript There Two types Data types:
Primitive Data types
Non-Primitive Data types
JavaScript Dynamic type language
var a=10;//this number data types
var b=”Welcome to Online Technical Library”// this sting data types
JavaScript Primitive Data types;
There are five JavaScript Primitive Data types
Stringàonly Charecters eg.”welcome”;
Number-->Numeric Values eg.100
Booleanàonly True or False
Undefinedànot specified
NullàNo value at all
JavaScript Non-primitive Data Types:
ObjectàWe can Access the members Details
Array àGroup Array similar Values
RegExpàReqular Expressions
This post first appeared on WebDesign | SEO Services Full Tutorial | PHP Full Tutorial | Javascript Full Tutorial|HTML,CSS,CMS, please read the originial post: here