JavaScript Function Result
A function can return a result. To do this, use the return statement, after which the return value i...
Function parameters
A function in JavaScript can take parameters. Parameters represent the way data is passed to the fun...
JavaScript Functions
Functions are a set of instructions that perform a specific action or calculate a specific value. Fu...
JavaScript Loops
Cycles allow you to perform some action many times, depending on certain conditions. JavaScript has ...
Conditional constructs
Conditional constructions allow you to perform certain actions depending on certain conditions. if.....
Introduction to arrays
Arrays are designed to work with datasets. Square brackets [] are used to create an array . Inside t...
Data transformations
Often there is a need to convert one data to another. Some transformations are done automatically by...
Conditional operators ?: and ??
Conditional statements allow you to check a certain condition and, depending on the result of the ch...
JavaScript Operators
Mathematical operations JavaScript supports all basic mathematical operations: Build : Subtraction :...
Data types
All data used in JavaScript has a specific type. JavaScript has eight data types: String : represent...