Java Script Lessons
No Structure in Javascript write as you like
If you want to write a message just do [Link]
If you want to declare something just declare
If you want to initialize something just initialize
If you want to declare and initialize you can do that as well
//single line comment
/*Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut convallis gravida congue. Donec nec
metus quis nulla lobortis ornare semper et nisi. Sed non scelerisque quam. Etiam tempus, enim id.
multi line comment */
String : anything that is enclosed in single or double quotes written in JS is string
Variable : variable is like a container in which we can store values, it can be a number value or a
string value
Javascript has dynamically typed variables which means the value assigned to variable can change its
datatype bases on the value provided
Good habit to type variable is by typing “let” let x = 10 (we can also write simply x = 10 but that is
good practice)
Js variable names are case sensitive therefore, naming must be carefully done
What is JavaScript?
High level
Light Weighted
JIT compiled
Multi-Paradigm
Prototype Based
Synchronous
Single Threaded
Dynamic Language