Ajay Yadav Profile picture
Mar 27, 2022 β€’ 11 tweets β€’ 4 min read β€’ Read on X
πŸ’› 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.
πŸ“Œ How many types of creating an array?

β†’ There are 2 ways for creating an array for now.

1️⃣ Using array literals
2️⃣ Using new keyword
1️⃣ Using array literals [ ]

β†’ That means we can create an array using square brackets separated by semicolons.

β†’ Space and lines are not important, they can be spanned in multiple lines.

β†’ Generally, many people use this method for creating arrays.
2️⃣ Using new keyword

β†’ We can also use the new keyword for creating the array.
πŸ“Œ How to access array items & full array?

πŸ‘€ Access array items: We can access the items of an array using the index.

- 1st item = 0 index
- 2nd item = 1 index
- 3rd item = 2 index
- 4th item = 3 index

and so on...

β›” Arrays index starts from 0.
πŸ‘€ Access full array: We can access the full array using the name of the array.
πŸ“Œ How to change the array items?

β†’ We can change the items of the array using the index number.
πŸ“Œ The data type of the array?

β†’ It is a non-primitive data type.

β†’ An object is the data type of the array.
πŸ’š 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

Jun 20
10 Incredible AI Tools You Won't Believe Exist in 2024!

[Bookmark for later use πŸ”–] Image
1. Momen: Build Web Apps with No-Code

Momen simplifies AI app creation with user-friendly tools, easy data integration, seamless workflow integration, and customizable frontend design using a component library and infinite canvas.

go.momen.app/QJfvkTDb
2. Microsoft Loop

An online collaboration platform by Microsoft, seamlessly integrating teams, content, and tasks across apps and devices.

loop.microsoft.com
Read 12 tweets
Jun 19
Google Chrome offers 130,445 extensions, but only a few extraordinary.

These 7 will save you hours.

[Bookmark for later use πŸ”–] Image
1. Pop AI

Student's best friend for an easy life, enabling them to chat with PDF, create presentation , generate organizational charts,write,academic essays and craft killer CVs all in one platform.
2.Compose AI

Compose ai is a chrome extension that cuts your writing time in 40./. with ai powered autocompletion and text generation.
Read 9 tweets
Jun 3
Google Chrome offers 130,445 extensions, but only a few extraordinary.

These 7 will save you hours.

[Bookmark for later use πŸ”–] Image
1. Pop AI

Student's best friend for an easy life, enabling them to chat with PDF, create presentation , generate organizational charts,write,academic essays and craft killer CVs all in one platform.
2.Compose AI

Compose ai is a chrome extension that cuts your writing time in 40./. with ai powered autocompletion and text generation.
Read 8 tweets
Apr 14
MIT University just released free online courses.

100% Free, No Cost

Here are 7 courses you can't afford to miss in 2024: ↓ Image
1. Introduction to Computer Science and Programming Using Python.

Topics:

β†’ Python programming language
β†’ Simple algorithms
β†’ Data Structures
β†’ Introduction to algorithmic complexity

buff.ly/3ORSEOo
2. Machine Learning with Python

Topics:

β†’ Model Implementation & Analysis
β†’ Model Selection
β†’ ML Project Execution
β†’ Training, Validation, Tuning, Features

buff.ly/3UOgb6u
Read 8 tweets
Apr 9
OpenAI just launched a big upgrade. πŸ₯³

ChatGPT is now 10x easier to use. πŸ’Ή

Check out 7 new features of ChatGPT you shouldn't miss.

[Important thread, Bookmarked itπŸ”–] Image
1. Edit Images

You can now edit DALLΒ·E images in ChatGPT on the web, iOS, and Android.
2. No Sign up needed

OpenAI is making it easier for people to enjoy AI benefits without signing up.
Read 8 tweets
Mar 31
MIT University just released free online courses.

100% Free, No Payments

Here are 7 courses you can't afford to miss in 2024: ↓ Image
1. Introduction to Computer Science and Programming Using Python.

Topics:

β†’ Python programming language
β†’ Simple algorithms
β†’ Data Structures
β†’ Introduction to algorithmic complexity

buff.ly/3ORSEOo
2. Machine Learning with Python

Topics:

β†’ Model Implementation & Analysis
β†’ Model Selection
β†’ ML Project Execution
β†’ Training, Validation, Tuning, Features

buff.ly/3UOgb6u
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!

:(