
Join the Conversation!
Subscribing gives you access to the comments so you can share your ideas, ask questions, and connect with others.
We know many operators from school, like: addition , multiplication , and subtraction .
In programming, operators perform operations on data values (operands) and produce results.
For example, in :
In the next few lessons, we'll explore these operators in detail.
"Please login to view comments"
Subscribing gives you access to the comments so you can share your ideas, ask questions, and connect with others.
How did you manage to remove the blur property and reach here?
Upgrading gives you access to quizzes so you can test your knowledge, track progress, and improve your skills.
By logging in, you'll unlock full access to this and other free tutorials on JSM Pro.
Why? Logging in lets us personalize your learning experience, track your progress, and keep you in the loop with new workshops, coding tips, and platform updates.
You'll also be the first to know about upcoming launches, events, and exclusive discounts.
No spam—just helpful content to level up your skills.
If that sounds fair, go ahead and log in to continue →
Enter your name and email to get instant access
##Looks like we found a thief monkey By the way, I liked the trick how you reached till here. You have a good sense of humor. You will improve a lot if you join our course with this passion.
var
(function-scoped, outdated)let
(block-scoped, modern and recommended)const
(block-scoped, cannot be reassigned)_
, or $
let let = 5;
is invalid)myVar
and myvar
are different)string
, number
, boolean
, null
, undefined
, bigint
, symbol
Objects
, Arrays
, Functions
Subscribing gives you access to a brief, insightful summary of each lecture to stay on track.
00:00:00 You know many operators from school, like addition, multiplication, and subtraction.
00:00:05 In programming, operators perform operations on data values, often known as operands, and produce results.
00:00:13 For example, in 1 plus 2, plus is the operator, 1 is the left operand, and 2 is the right operand, resulting in 3. JavaScript has a couple of categories
00:00:25 of operators.
00:00:26 First, there are arithmetic operators.
00:00:29 For example, 5 plus 3 results in 8. Then, there are comparison operators.
00:00:36 For example, 5 is greater than 3, results in a Boolean value of true.
00:00:43 Then, there are logical operators, for example, true and false, results in false, because when using an AND operator, both of the values have to be true
00:00:53 to result in true, but more on that later.
00:00:56 Then there's an assignment operator.
00:00:58 For example, let is equal to 5. And then later on, x plus equal to 3 results in x being 8. And finally, there's a conditional,
00:01:07 also known as ternary operator, where you can modify what the result will be depending on a specific comparison.
00:01:15 You can think of this operator as combining a couple of other operators.
00:01:18 So, if you have something like if 5 is greater than 3, then return yes, else return no, well, the result in this case will be yes.
00:01:29 In the next couple of lessons, we'll explore all of these operators in detail.
00:01:33 So, in the next lesson, let's dive right into the arithmetic operators.