-
Getting Started
32-
Lecture1.1
-
Lecture1.2
-
Lecture1.3
-
Lecture1.4
-
Lecture1.5
-
Lecture1.6
-
Lecture1.7
-
Lecture1.8
-
Lecture1.9
-
Lecture1.10
-
Lecture1.11
-
Lecture1.12
-
Lecture1.13
-
Lecture1.14
-
Lecture1.15
-
Lecture1.16
-
Lecture1.17
-
Lecture1.18
-
Lecture1.19
-
Lecture1.20
-
Lecture1.21
-
Lecture1.22
-
Lecture1.23
-
Lecture1.24
-
Lecture1.25
-
Lecture1.26
-
Lecture1.27
-
Lecture1.28
-
Lecture1.29
-
Lecture1.30
-
Lecture1.31
-
Lecture1.32
-
-
Check Point
1-
Lecture2.1
-
-
Locked
4-
Lecture3.1
-
Lecture3.2
-
Lecture3.3
-
Lecture3.4
-
Numbers 2
Hey all, this JavaScript tutorial for beginners will introduce the concept of variable scope. Variables can have either global or local scope.
A global variable is initialized at the ‘top-level’ of your document, and can be used anywhere within your document after it has been declared. A local variable has only local scope, and can only be used within the function in which it was initialized.
Things You Should Know
- a global variable is defined outside of a function
- a local variable is defined inside a function is only seen inside the function
- we use variables to capture information dynamically
- ,,webpage,,JavaScript Numbers – w3schools.com,,
JavaScript Numbers are Always 64-bit Floating Point. Unlike many other programming languages, JavaScript does not define different types of numbers, like integers, short, long, floating-point etc. JavaScript numbers are always stored as double precision floating point numbers, following the international IEEE 754 …
,,https://www.w3schools.com/js/js_numbers.asp - ,,webpage,,Number – JavaScript | MDN – developer.mozilla.org,,
The Number JavaScript object is a wrapper object allowing you to work with numerical values. A Number object is created using the Number() constructor.
,,https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number