Programming with JavaScript
This a summary of what I have learned during the class and by reading this tutorial.
Expressions and Operators
The programming operation with JavaScript requires some tools to be done:
- Operators
- Expression
- Operators An operator performs some operation on single or multiple operands (data value) and produces a result. there are many types of Operators:
- Assignment operators
- Comparison operators
- Arithmetic operators
- Bitwise operators
- Logical operators
- String operators
- Conditional (ternary) operator
- Comma operator
- Unary operators
- Relational operators
- Expression an expression is a snippet of code that evaluates to a value.
- the Expression
- Arithmetic
- String
- Logical
- Primary expressions
- Left-hand-side expressions
Functions
A JavaScript function is a block of code we type within the main js code to perform a particular task. and it can be called anywhere in the code by its assigned name.
A function element are:
function name(parametes) {
return //task//;
}
Get back to EMAM’S HOMEPAGE
I have created this page as a part of my project using Github, Please visit my profile, I will be more than happy to hear from you all. © Emam Shararah 2021