Please enable JavaScript.
Coggle requires JavaScript to display documents.
JAVASCRIPT - Coggle Diagram
JAVASCRIPT
OPERATORS
Arithmetic
**
++x
x++
Assignment
*=
/=
Comparison
===
Strict
Same
Type
Value
==
Loose
Diff
Type
Ternary
condition ?
v1 : v2
Logical
Boolean
||
&&
!(bool)
Falsy
Undefined/Null
False/ 0
NaN
EmptyString
OR
Return
First-Truthy
AND
Return
Last-Truthy
Bitwise
&
|
OVERVIEW
ECMAScript
Specification
v1
1997
ES6
2015
Engines
Chrome
v8
Firefox
Spidermonkey
Environment
VSCode
LiveServer
Node
node script.js
Script
Element
Head
Body
End
Src
Attribute
BASICS
Variables
Let
Const
Var
Types
Primitive/Value
String
Number
Boolean
Symbol
Undefined/Null
Reference
Object
Array
Function
Dynamically
Type
Change
Runtime
Typeof var
CONTROLFLOW
Conditionals
If/Else
Switch (val)
Case val :
Break
Default
Loops
For
For-In
Let
Key/Index
Object/Array
For-Of
Let
Item
Array
While
Do-While
OBJECTS
ARRAYS
FUNCTIONS