Everything that can be written in JavaScript will be written in JavaScript.)
P.S. You'll get it soon enough...
Everything that's not a primitive datatype, is an Object in ...JavaScript!
- string
- number
- bigint
- boolean
- undefined
- symbol
- null
Primitive
-
Arrays ( list ) - Multidimensional array
-
Objects ( map, dictionary, or hash-table ) - Key-Value pairs
Non-primitive
-
Stacks
-
Queues
-
Linked lists
-
Trees
-
Graphs
-
Roundup
-
!==-!= -
===-== -
>= -
<= -
> -
<
Variables are containers for storing data values
varlet( ES6 )const( ES6 )
-
camelCase: JavaScript -
CONSTANTS: Immutable, Shouldn't be modified...! -
snake_case: Python -
PascalCase: C/C++
ifelse ifelseswitch-case- Ternary Operators (
?:)
&&: and||: or!: not!
A function() must return something
- const x = function name() {}
function name() {}- Arrow Functions ( ES6 ):
() => {}
forforEach( ES6 )dowhile
-
alert() -
prompt() -
clear() -
print(): Print the webpage, not like python...!
"36"
3
0
"JavaScript"
''
'0'
2
1
1
1
-1
-3
NaN
true
false
false
false
false
true
true
false
false
false
"Hi There! It's sunny out" by using the + sign.
- "Hi There! " + "It's "sunny" out"
Or, just use the '/" interchangeably...
- break
- case
- catch
- class
- const
- continue
- debugger
- default
- delete
- do
- else
- export
- extends
- finally
- for
- function
- if
- import
- in
- instanceof
- new
- return
- super
- switch
- this
- throw
- try
- typeof
- var
- void
- while
- with
- yield
P.S Get it?
NOTE: Try to just NEVER write Vanilla, or you'll end up creating your own little JS Framework, and the last thing this world needs is another JavaScript Framework.)
P.S. You'll get this soon enough too.)
Until next time.)









