Program Language ex. javascript
Code
Case Sensitivity
Comments
Literals
Reserved words
Expression and statement
Expression
- Expressions are phrases that produce a value.
Statement
- Stetemens are phrases that don't produce a value but instead have some sort of side effect. Examples of side effects include storing variables in memory and jumping to a different part of the script.
Variables and data
Variables store a value you can refer to later in the script. Variable names can be nearly any valid identifier.
Values
type |
---|
number |
string |
boolean |
array |
object |
undefined |
NaN |
- number
- integer
- float
Operator
Conditions
- Comparison
Truthiness and Falsiness
Functions and Objects
Function
Objects
Control Flow
Loops
Cases
if
switch/case
try/catch/finally
throw / exception
break and continue
Compound Expressions
Builtin / Environment
data and time
files
OS and Environment
Modules and libraries
// --- end of file --//