🚀Day 94 of #100DaysOfCode Today I learned about function expressions in JavaScript! Instead of creating a function with a name, you can store an anonymous function inside a variable. Function expressions are great for passing functions as values, using them as arguments, or keeping your code modular and flexible. #JavaScript #FunctionExpression #Learning #100DaysOfCode
Learned about JavaScript function expressions today.
More Relevant Posts
-
🚀Day 88 of #100DaysOfCode Today I learned about functions in JavaScript. Functions let you group code together so you can reuse it easily. You can pass values (called arguments) into the function to make it flexible. Functions help keep code organized and cut down repetition. #JavaScript #Functions #Learning #100DaysOfCode
To view or add a comment, sign in
-
-
💻 Day 3 of #100DaysOfCode > 🚀 Today I learned about JavaScript Loops — one of the most powerful concepts for repeating tasks! 🔁 The 5 main types of loops in JavaScript: 1️⃣ for loop 2️⃣ while loop 3️⃣ do...while loop 4️⃣ for...of loop 5️⃣ for...in loop 💡 Loops make our code efficient and clean by reducing repetition. #100DaysOfCode #JavaScript #WebDevelopment #CodingJourney #FullStackDeveloper
To view or add a comment, sign in
-
-
JavaScript Unique Magic: Hoisting Definition: Hoisting in JavaScript means moving all variable and function declarations to the top of their scope before the code runs. This allows you to use a function or variable even before it is written in the code. Why It Happens: JavaScript interpreter reads the entire code first and sets up memory for all variables and functions. That why you can access them before their actual line of code appears. Uses: 1) Helps in calling functions before they are defined. 2) Makes code organization flexible. Problems: 1) Can cause confusion for beginners. 2) Variables declared with var become undefined if used before declaration. 3) let and const declarations cause an error if used too early #JavaScriptMagic #CodingTips #LearnJS #FrontendFun #ProgrammingLife #JSBeginners #WebDev #TypeScript #CodeSmart #DeveloperCommunity
To view or add a comment, sign in
-
JS Tutorial #3: Functions Title: JS Tutorial #3: Functions in JavaScript Content: Functions are reusable blocks of code. They help organize your program. Code snippet: function greet(name) { return `Hello, ${name}!`; } console.log(greet("Cognothink")); Engagement: Write a function that takes two numbers and returns their sum. Try it out! #JavaScript #WebDevelopment #Coding #LearnJS #Cognothink
To view or add a comment, sign in
-
𝗘𝘃𝗲𝗿 𝗵𝗮𝗱 𝘆𝗼𝘂𝗿 𝗰𝗼𝗱𝗲 𝗮𝗰𝘁 𝘀𝘁𝗿𝗮𝗻𝗴𝗲 𝗮𝗻𝗱 𝘆𝗼𝘂 𝗰𝗼𝘂𝗹𝗱𝗻’𝘁 𝘁𝗲𝗹𝗹 𝘄𝗵𝘆? 😅 It happens a lot in JavaScript, especially when working with something called 𝗍𝗋𝗎𝗍𝗁𝗒 𝖺𝗇𝖽 𝖿𝖺𝗅𝗌𝗒 𝗏𝖺𝗅𝗎𝖾𝗌. In simple terms, JavaScript treats some things as true and others as false even if they don’t literally say “true” or “false.” I made a short snippet to show what I mean 👇 ✅ Lesson: Always check what’s really true or false before assuming. You can test it in the console using 𝗕𝗼𝗼𝗹𝗲𝗮𝗻(𝘃𝗮𝗹𝘂𝗲) to see if something is true or false. It’s a small thing but it can save hours of debugging. 👉 Learning by solving. 💻 #KabikaLearnsJS #JavaScript #WebDevelopment #CodingJourney #FrontendDevelopment
To view or add a comment, sign in
-
-
Understanding JavaScript variables made easy! 🌟 Global variables can be accessed anywhere in your code, while local variables stay inside functions or blocks only. Knowing this helps write cleaner and bug-free code. Here's a quick example to remember! #JavaScript #CodingShorts #WebDev #ProgrammingTips
To view or add a comment, sign in
-
✨ Just wrapped up a small JavaScript exercise to sharpen my skills with functions! Nothing too fancy — just wanted to get more hands-on with JavaScript. Every little practice adds up, and it's always fun seeing how even a few lines of code can teach something new. 🚀 If you're also learning or revisiting JavaScript, let's connect and share tips! #JavaScript #CodingPractice #100DaysOfCode #W3schools #LearningByDoing
To view or add a comment, sign in
-
💻 Exploring JavaScript String Functions! As part of my hands-on learning journey in Core JavaScript, I created an interactive page to explore key string functions like length, toUpperCase(), slice(), replace(), concat(), and more. This exercise helped me strengthen my understanding of string manipulation while applying concepts in a practical, hands-on way under the supervision of my trainer Saravanan Durai ✨ #JavaScript #WebDevelopment #CodingPractice #LearningByDoing #ProgrammingFundamentals #FrontEndDevelopment
To view or add a comment, sign in
-
JavaScript isn’t just about writing code — it’s about learning to think in new ways. The deeper I go, the more I realize: every function has a story, and every bug has a lesson. #JavaScript #WebDevelopment #ContinuousLearning #CodingJourney
To view or add a comment, sign in
-
-
“Boost your JavaScript skills with this clean and minimal guide to essential string methods! 📚✨ Learn how to manipulate and work with strings in JavaScript using practical examples for each method. Perfect for beginners and seasoned developers alike. Save and share to keep these tips handy! #JavaScript #Coding #WebDevelopment #ProgrammingTips”
To view or add a comment, sign in
-
Explore content categories
- Career
- Productivity
- Finance
- Soft Skills & Emotional Intelligence
- Project Management
- Education
- Technology
- Leadership
- Ecommerce
- User Experience
- Recruitment & HR
- Customer Experience
- Real Estate
- Marketing
- Sales
- Retail & Merchandising
- Science
- Supply Chain Management
- Future Of Work
- Consulting
- Writing
- Economics
- Artificial Intelligence
- Employee Experience
- Workplace Trends
- Fundraising
- Networking
- Corporate Social Responsibility
- Negotiation
- Communication
- Engineering
- Hospitality & Tourism
- Business Strategy
- Change Management
- Organizational Culture
- Design
- Innovation
- Event Planning
- Training & Development