Back

Shubham

Fearless • 20d

🚀 Day 4/21 – My JavaScript Learning Journey Today’s focus: Arrays in JavaScript 📦 An Array is a special object in JS used to store multiple values in a single variable. 🔹 Creating Arrays let fruits = ["Apple", "Banana", "Mango"]; 🔹 Common Methods push() → add at the end pop() → remove last element shift() → remove first element unshift() → add at the beginning indexOf() → find element index length → get size of array 💡 Example: let arr = [1, 2, 3]; arr.push(4); // [1, 2, 3, 4] arr.shift(); // [2, 3, 4] ✨ Arrays are the backbone of data handling in JavaScript. ❓What’s your favorite array method that you can’t code without? #JavaScript #Coding #WebDevelopment #LearningJourney #21DayJavaScript

Reply
3

More like this

Recommendations from Medial

Prince Singh Chouhan

Front-end Developer • 1y

#Array in #javascript: Array in Javascript enables storing a collection of multiple items under a single variable name, and has members for performing common array operations. Arrays aren't primitives but are instead Array #objects with the followin

See More
Reply
2

Arihant Jain

Crafting Impactful A... • 2m

🧠 Programming Challenge of the Day Can you solve this? You're given an integer array (with both positive and negative values). Each element in the array represents the number of stars (*) to be printed vertically in its column: 🔹 Positive values

See More
Reply
2
3

Shubham

Fearless • 21d

🚀 Day 3/21 – My JavaScript Learning Journey Today I explored two core concepts: Loops & Strings. 🔹 Loops in JavaScript for → classic loop with index. while → runs until a condition is true. do...while → executes at least once. for...of → best

See More
Reply
2

Shubham

Fearless • 22d

🚀 Day 2 of 21 – JavaScript Learning Journey Topic: Operations & Conditional Statements 🔹 Operations in JavaScript Arithmetic: + - * / % Assignment: = += -= Comparison: == === != > < >= <= Logical: && || ! 🔹 Conditional Statements // if sta

See More
1 Reply
1
16

Sagar gupta

Full-time Freelancer... • 1y

Most Javascript Questions Asked in Interview | PART 2 1. What is difference between a for loop and for Each loop Ans: A for loop is traditional loop that uses a counter variable to iterate over an array. ForEach loop is a method that iterate over a

See More
Reply
3
10

Rudra Madhab Mishra

Developer, Ai Engine... • 2m

6 habbits change your life in one year 1. Remove Negative people 2.Commit your goal 500% 3. stay humble.... 4. Learn from all Mistakes 5. keep Building relevant skills 6. Reinvest Your self 7...

Reply
2
Image Description
Image Description

AKASH MOUDEKAR

Hey I am on Medial • 1y

*Programming Languages:* 1. Python 2. Java 3. JavaScript 4. C++ 5. C# 6. Ruby 7. Swift 8. PHP 9. Go 10. Rust *Development Frameworks:* 1. React 2. Angular 3. Vue.js 4. Django 5. Ruby on Rails 6. Laravel 7. (link unavailable) 8. Flutter 9. Node.js 10

See More
10 Replies
4
7

Tamanna

Coding 🌐 Programmin... • 1m

APK/AAB size heavy? Trim now. 1. Split APKs/ABI filters. 2.R8/ProGuard minify/shrink. 3.Remove unused assets/locales.

Reply
4

Vaishnavi Gupta

Learn from other peo... • 1y

Five fundamentals of every business is 1 value creation 2 marketing 3 sales 4 value delievery 5 finance If you remove any one of these then you don't have business you have something different. All unicorns investes in these five.

Reply
1
4

Download the medial app to read full posts, comements and news.