Day 36 in #100DaysOfCode

Learned about JavaScript Operators:
- Assignment Operators
- Arithmetic Operators
- Comparison Operator
- Logical Operators
- Type Operator

A small thread πŸ§΅πŸ‘‡
In JavaScript, an operator is a special symbol used to perform operations on operands (values and variables).

like let x = 3 + 5;

Here + is an operator that performs addition, and 3 and 5 are operands.
>> Assignment Operator: The assignment operator (=) assigns a value to a variable.

const x = 5;
Here, 5 is assign to a variable x.
>> Arithmetic Operator: Arithmetic operators are used to perform arithmetic calculations.
const number = 4 + 5; //9

Here, are some basic Arithmetic operators.
>> Comparison Operator: Comparison operators compare two values and return a boolean value, either true or false.

const a = 5, b = 3;
console.log(a > b); // true
>> Logical Operator: Logical operators are used to determine the logic between variables or values.
>> Type Operator:
The typeof operator can tell us about which data type a variable contains. Whether it is a string, number or boolean, etc.

β€’ β€’ β€’

Missing some Tweet in this thread? You can try to force a refresh
γ€€

Keep Current with H A J R A

H A J R A Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @codewithhajra

2 Nov
5 HTML Tricks nobody tells you:

A ThreadπŸ§΅πŸ‘‡
1- Spellcheck: The spellcheck is used to check the spelling and grammar of Html elements such as input. Image
2- Translate: The translate attribute is used to tell the browser whether the content is to be translated or not.
It can be translated into any language. Image
Read 7 tweets
14 Oct
5 websites that will save your time while writing CSS!

A small 🧡
1: mycolor.space
Never waste hours on finding the Perfect Color Palette
JUST ENTER A COLOR!
And create an amazing color palette. Image
2: cssbuttons.io
Find the perfect button for your project
All content is open-source and free to use! Image
Read 7 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal Become our Patreon

Thank you for your support!

Follow Us on Twitter!

:(