Atharva Hinge Profile picture
Feb 11 β€’ 13 tweets β€’ 3 min read
πŸ”· About Javascript Type conversion in brief ↓

A Thread 🧡 :
What is type conversion?

It is exactly what the name states, conversion of one type to other.

: string to integer
: integer to string etc.

Javascript allows us to do the same with some easy functions.
As we know, there are 3 main primitive data types in Javascript namely:

~ string
~ number
~ boolean
How to check the type of a specific data?

Let's say we have ↓
How to determine the type of data? ↓
But you will not get a certain data type always, sometimes when the engine isn't sure about a primitive data type, it logs this ↓
How does type conversion take place in Javascript?

These are the methods mainly used:
There is a concept called Operator Precedence.

Different operators have different precedence and javascript doesn't treat each operator as the same!

So what exactly is the order?
1. () = has the most important precedence in JS
2. . = the dot operator has the 2nd most
3. []
4. ?. = if else bracing
5. new = with arguments and then without arguments!
I believe in learning by actually coding and not only reading.

Want all these code snippets and readymade code to work on?

Here is the repository for your reference:
github.com/36atharva/Deal…
That's a wrap-up for this one 🎁

If you liked this thread :

πŸ” Retweet the first tweet

πŸ•ΈοΈ Follow me for more content @atharvatwts

πŸ‘ Hit the like button and share!

Have a Great Day πŸ˜„
Check out this blog if you are just starting out in Javascript:

atharvatwts.hashnode.dev/how-to-kicksta…

β€’ β€’ β€’

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

Keep Current with Atharva Hinge

Atharva Hinge 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 @atharvatwts

Feb 9
CSS can get tough when building complex websites.

But not anymore.

Here are 5 CSS Generators to increase your speed while development 🧡 : Image
1. GetWaves - create awesome SVG waves and patterns for your next design from here.

β†’ Trying to get some smooth page division graphics with ease? give it a go asap!

πŸ”— getwaves.io
2. Blobmaker - helps you to quickly create random and unique SVG shapes for your next project.

πŸ”— blobmaker.app Image
Read 7 tweets
Jan 8
Most people suck at finding Remote jobs.

Not anymore!

Here are 25 websites to find remote jobs and freelance work very easily:
1. arc .dev
2. angel .co
3. weworkremotely .com
4. remote .co
5. himalayas .app
6. remoteok .com
7. jsremotely .com
Read 8 tweets
Jan 6
πŸ”· About Javascript conditional statements (if-else) in detail ↓

A Thread 🧡 : Image
What are conditional statements?

-> We perform a specific operation based on a given condition.

-> We can specify a certain condition and execute a particular code block based on it.
-> the if else blocks are used in order to write these statements in Javascript, we will take a look at the working ahead.

-> we can also use switch statements, let's see the working of each one by one πŸ‘‡
Read 10 tweets
Jan 2
Javascript project ideas, from a beginner to an advanced level.

Build these projects and enhance your coding skills in 2023.

A Thread 🧡 :
These ideas are categorized into three levels,

β€’ Beginner
β€’ Intermediate
β€’ Advanced

I struggled finding good project ideas for a hell lot of time 0.0, so let's save your time ↓
β—½ Beginner Level :

β†’ Tip calculator - test your js skills by building a calculator, building a simple calculator will also work.

β†’ Image Slider - one of the best for beginners!

β†’ Background color changer
Read 7 tweets
Dec 25, 2022
Building projects can take your knowledge from zero to hero.

Here are 10 project ideas to master HTML and CSS.

A Thread 🧡 :
1. Build a responsive website from scratch
πŸ–‡οΈ

2. Complete Responsive Website tutorial
πŸ–‡οΈ

3. Build pricing block with HTML,CSS
πŸ–‡οΈ
4. Modern Landing Page built by traversy media
πŸ–‡οΈ

5. Website with floating Background
πŸ–‡οΈ

6. Parallax website with HTML and CSS
πŸ–‡οΈ
Read 6 tweets
Dec 24, 2022
Stanford is offering FREE online courses.

No need to apply and pay hefty fees.

Here are 5 courses you can't afford to miss:
1. Computer Science 101:

CS101 is a self-paced course that teaches the essential ideas of Computer Science for a zero-prior-experience audience.

πŸ”— online.stanford.edu/courses/soe-yc…
2. Game theory:

game theory is the mathematical modeling of strategic interaction among rational (and irrational) agents.

πŸ”— online.stanford.edu/courses/soe-yc…
Read 8 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

Don't want to be a Premium member but still want to support us?

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

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us on Twitter!

:(