Fearlessย โขย 4h
๐ 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
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 MoreCrafting 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 MoreFull-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 MoreHey 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 MoreHey I am on Medialย โขย 1y
Japan has become the leader in the medal standings of the 2024 Olympics after two days of competition: seven awards, four of which are gold. Medal standings of the 2024 Olympics (top 5): 1. ๐ฏ๐ต Japan: ๐ฅ4 + ๐ฅ2 +๐ฅ1 2. ๐ฆ๐บ Australia: ๐ฅ4 + ๐ฅ2 3
See MoreDownload the medial app to read full posts, comements and news.