Back

Shubham

Fearless • 29d

Day 05/21 – JavaScript Functions & Methods Today I explored one of the most powerful concepts in JavaScript: Functions & Methods. 🚀 🔹 Functions are blocks of code designed to perform a specific task. They help in reusability and make code cleaner. function greet(name) { return `Hello, ${name}!`; } console.log(greet("Shubham")); // Output: Hello, Shubham! 🔹 Methods are functions inside objects, tied to data. Example: let user = { name: "Shubham", greet() { return `Hello, ${this.name}!`; } }; console.log(user.greet()); // Output: Hello, Shubham! 👉 Functions = Independent tasks 👉 Methods = Tasks attached to objects Mastering them is essential for writing scalable JavaScript code! 💡 #21JavaScript #JavaScript #CodingJourney #LearnInPublic #CodeNewbie #WebDevelopment

Reply
1

More like this

Recommendations from Medial

Shubham

Fearless • 24d

Day 09/21 – JavaScript Classes & Objects Today I explored Classes & Objects in JavaScript – the building blocks of Object-Oriented Programming (OOP). 🚀 🔹 Objects = collections of data & methods 🔹 Classes = blueprints to create objects Example:

See More
Reply
8

Shubham

Fearless • 1m

🚀 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

Shubham

Fearless • 22d

Day 10/21 – JavaScript: Callback, Promise & Async/Await Today I learned how JavaScript handles asynchronous tasks like API calls, file loading, or timers. ⚡ 🔹 Callback – a function passed into another function function fetchData(cb) { setTimeou

See More
Reply
1

Shubham

Fearless • 13d

Day 11/21 – JavaScript API Calls 🌐 Today I explored how to fetch data from APIs in JavaScript using async/await. Copy code Javascript async function getUsers() { try { let response = await fetch("https://jsonplaceholder.typicode.com/users");

See More
Reply
2

Shubham

Fearless • 1m

🚀 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

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

Shubham

Fearless • 1m

🚀 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 Me

See More
Reply
3

Muttu Havalagi

🎥-🎵-🏏-⚽ "Finding ... • 1y

1. Python: - History: Python was created by Guido van Rossum and was first released in 1991. Its design philosophy emphasizes code readability and its syntax allows programmers to express concepts in fewer lines of code. - Unique Fact: The name

See More
Reply
1

Yash Deshmukh

Python-Driven Develo... • 3m

🚀 Hello World! I’m Yash Deshmukh — Python Developer | ML Enthusiast | Backend & Frontend Builder I’m excited to officially introduce myself to this incredible tech community! With a strong grip on Python, I specialize in: 🔹 Automation – simplify

See More
Reply
7

Aryan Nagori

 • 

Siddhrans Technologies • 2m

🚀 Advanced Java Course Progress: Week 2 Completed! Thrilled to share my progress on GeeksforGeeks - Advanced Java course! Week 2 was all about bringing OOP concepts to life: 🔹 Classes & Objects → Building blocks of my code 🔹 Encapsulation → Kee

See More
Reply
1

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