Ajay Yadav ๐ŸŽฏ Profile picture
Mar 2 โ€ข 7 tweets โ€ข 2 min read
๐Ÿ’› Day 2๏ธโƒฃ / 3๏ธโƒฃ0๏ธโƒฃ days of basics in JavaScript series

โ†’ What is data type?

โ†’ How many data types are in javaScript?

#javascript30

Let me explain!๐Ÿงต๐Ÿ‘‡ Image
๐Ÿ“Œ What is data type?

โ†’ Data type means which type of data or value.

โ†’ It defines which "type" of variable has a value or data.

โ†’ The data type defines the type of data or value.

โ†’ It can be number, string, boolean, etc.
๐Ÿ“Œ How many data types are in javaScript?

๐Ÿ‘€ There are 2 types of data types in JavaScript.

1๏ธโƒฃ Primitive data types

2๏ธโƒฃ Non-primitive / object / reference data types.
1๏ธโƒฃ Primitive data types

โ›” Primitive values are immutable data types.

1. string
2. number
3. bigInt
4. boolean
5. undefined
6. symbol (ES6 - 2015)
7. null

๐Ÿ“Œ And in the next thread we will talk about each of them in detail, so stay tuned with me:)
2๏ธโƒฃ Non-primitive / object / reference data types.

โ›” Non-primitive values are mutable data types.

1. Array
2. Object
3. Function, etc.

๐Ÿ“Œ And in the next thread we will talk about each of them in detail, so stay tuned with me:)
๐Ÿ“Œ Difference between immutable and mutable?

๐Ÿ‘‡
That's all for now, we will meet in the next thread!

But if you like make sure to:

1. Follow me @ATechAjay

2. Retweet the first tweet.

3. Turn on the notification to never miss these amazing tweets.

Thank you so much for staying to the end of this thread.

โ€ข โ€ข โ€ข

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

Keep Current with Ajay Yadav ๐ŸŽฏ

Ajay Yadav ๐ŸŽฏ 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 @ATechAjay

Apr 5
โšก 9 Ultimate Chrome Extension โšก

๐Ÿงตโ†“ Image
1๏ธโƒฃ Twitter Print Styles

๐Ÿ’ก Convert your tweets into PDF

chrome.google.com/webstore/detaiโ€ฆ
2๏ธโƒฃ DarkPDF

๐Ÿ’ก Read PDF into Dark mode

chrome.google.com/webstore/detaiโ€ฆ
Read 11 tweets
Apr 4
๐Ÿ’› Day 3๏ธโƒฃ1๏ธโƒฃ / 3๏ธโƒฃ0๏ธโƒฃ days of basics in JavaScript series!

๐Ÿ“Œ What is DOM?

๐Ÿ“Œ What is DOM structure or tree?

๐Ÿ“Œ What is DOM manipulation?

๐Ÿ“Œ How to access or manipulate nodes using DOM?

๐Ÿ“ŒJavaScript selectors?

#javascript30

Let me explain!๐Ÿงต๐Ÿ‘‡ Image
๐Ÿ“Œ What is DOM?

โ–บ DOM stands for Document Object Model.

โ–บ DOM is not part of JavaScript, it's an interface that allows programming language to change or remove the HTML elements.

โ–บ It is used to make the website interactive from the client-side.
โ–บ DOM is used to manipulate, style, or content of HTML elements.

โ–บ The "document" is the "root" element of the website.

โ–บ And the <HTML> is the child of the "document" node or object. Image
Read 10 tweets
Apr 2
๐Ÿ›  20+ Free resources for the content creators!

A Thread๐Ÿงต๐Ÿ‘‡
โ—‰ Feem (offline)

๐Ÿ’ก For sharing your files between 2 devices.

feem.io
โ—‰ File (online)

๐Ÿ’ก File-sharing websites!

file.io
Read 25 tweets
Mar 27
๐Ÿ’› Day 2๏ธโƒฃ6๏ธโƒฃ / 3๏ธโƒฃ0๏ธโƒฃ days of basics in JavaScript series!

โ†’ What is an array?

โ†’ How many types of creating an array?

โ†’ How to access array items & full array?

โ†’ How to change the array items?

โ†’ The data type of the array?

#javascript30

๐Ÿงตโ‡ฉ
๐Ÿ“Œ What is an array?

โ†’ It is a special variable that can be store more than one value.

โ†’ If you have multiple data items then you can use an array for storing those items.

โ†’ It can hold many values in a single variable.
โ†’ Or, storing a collection of multiple items in a single variable.

โ†’ Js array can contain mixed types of data or items, like string, decimal, float, boolean, etc.
Read 11 tweets
Mar 26
๐Ÿ’› Day 2๏ธโƒฃ5๏ธโƒฃ / 3๏ธโƒฃ0๏ธโƒฃ days of basics in JavaScript series!

โ†’ How many types of functions are in JavaScript?

โ†’ With explanations as well as examples!

#javascript30

Let me explain!๐Ÿงตโ‡ฉ
๐Ÿ“Œ How many types of functions are in JavaScript?

โ†’ There are 3 types of function is javaScript

1๏ธโƒฃ Function declaration/statement
2๏ธโƒฃ Function expression
3๏ธโƒฃ Arrow function
1๏ธโƒฃ Function declaration/statement

2๏ธโƒฃ Function expression

โ›” Learn it from this thread!๐Ÿ‘€๐Ÿ‘‡

Read 5 tweets
Mar 25
๐Ÿ’› Day 2๏ธโƒฃ4๏ธโƒฃ / 3๏ธโƒฃ0๏ธโƒฃ days of basics in JavaScript series!

โ†’ What is an arrow function?

โ†’ What is the syntax of the arrow function?

#javascript30

Let me explain!๐Ÿงตโ‡ฉ Image
๐Ÿ“Œ What is an arrow function?

โ†’ This is also similar to function declaration or function expression.

โ†’ Arrow function was introduced in ES6(2015).

โ†’ It allows us to define a function with an arrow (=>) symbol.
๐Ÿ“Œ What is the syntax of the arrow function?

โ†’ This is the simple syntax of the arrow function

๐—ฃ๐—ฎ๐—ฟ๐—ฎ๐—บ๐—ฒ๐˜๐—ฒ๐—ฟ => ๐—˜๐˜…๐—ฝ๐—ฟ๐—ฒ๐˜€๐˜€๐—ถ๐—ผ๐—ป

๐Ÿ‘€Here:

- "square" is the name of the function

- "a" is the parameter of the function

- "a * a" is the function expression 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

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!

:(