Lecture - 19: Async/Await in JavaScript by Hitesh Choudhary and Piyush Garg - promise (pending, resolve, reject) - then and catch - async/await - error handeling - setTimeout function #chaicode #JavaScript #AsyncAwait
Async/Await in JavaScript by Hitesh Choudhary and Piyush Garg
More Relevant Posts
-
Understanding async is a turning point in JavaScript. Just published a beginner-friendly blog on Synchronous vs Asynchronous JS ✨ 👉 https://lnkd.in/g-RB5ZU2 Chai Aur Code Hitesh Choudhary Piyush Garg Akash Kadlag Anirudh Jwala #chaicode #javascript
To view or add a comment, sign in
-
-
Hot take 🔥 If your ternary operator needs a second line, it needs an if/else statement instead. Readability > Brevity All thanks to Scrimba #WebDev #JavaScript
To view or add a comment, sign in
-
Tip Calculator The game is simple to fetch the data from the HTML, make calculations and then update it via Javascript. The question is how, let's see more in the video. #learninginpublic #JavaScript #Codinglife #learningvideoediting
To view or add a comment, sign in
-
🚀#1, I worked on a simple but fundamental problem: finding even numbers in an array using JavaScript. While the problem looks basic, it helps in understanding how to iterate through arrays, apply conditions, and build logical thinking step by step. Akshay Saini 🚀 #DSA #NamasteDsa #JavaScript #CodingJourney #100DaysOfCode #ProblemSolving #LearningInPublic
To view or add a comment, sign in
-
Got a minute for some JavaScript? 🍒 What does this code output? Answers 🔍 >>> - "Tom says meow" - TypeError: c.createKitten is not a function - "Kitty says meow" Why the TypeError? *createKitten* is a static method - it lives on the *Cat* constructor, not on instances. *c* is an instance, so it cannot access static methods. Only *Cat.createKitten()* works. #javascript #webdevelopment
To view or add a comment, sign in
-
-
𝗝𝗮𝘃𝗮𝗦𝗰𝗿𝗶𝗽𝘁 𝗖𝗹𝗮𝘀𝘀𝗲𝘀? 𝗡𝗼𝘁 𝗥𝗲𝗮𝗹𝗹𝘆 🧠 JS doesn’t have real classes, it’s all prototypes, and classes are just syntactic sugar. Today’s session made this click, prototypes, constructor functions, and how modern class syntax actually works under the hood. #JavaScript #ChaiCode #WebDev
To view or add a comment, sign in
-
-
JavaScript bugs don’t just break the code… they create new dimensions of problems. 😅 Every error feels like a puzzle no one prepared you for. #JavaScript #CodingMemes #DeveloperLife #WebDevelopment
To view or add a comment, sign in
-
-
🚀 New Blog: Async/Await in JavaScript Clean async code ≠ magic It’s just promises made readable 🔗 https://lnkd.in/d4yaQjBa Also check this JS revision repo 🔗 https://lnkd.in/dqR-5ytF I revised callbacks, promises & async/await here — cleared a lot of my confusion 🔥 #javascript #webdev #asyncawait Hitesh Choudhary Piyush Garg Akash Kadlag Suraj Kumar Jha
To view or add a comment, sign in
-
Today I learned about the difference between == and === in JavaScript. The == operator compares only values and performs type conversion if needed. For example, '5' == 5 returns true because JavaScript converts the string to a number. On the other hand, === compares both value and type. So '5' === 5 returns false because the types are different. Understanding this difference is very important to avoid unexpected results in code. #JavaScript #EqualityOperators #ProgrammingBasics #WebDevelopment #LearningJourney
To view or add a comment, sign in
-
One of the most confusing things in JavaScript is the 𝘁𝗵𝗶𝘀 𝗸𝗲𝘆𝘄𝗼𝗿𝗱. Took some time to understand how it really works and how 𝗰𝗮𝗹𝗹(), 𝗮𝗽𝗽𝗹𝘆(), and 𝗯𝗶𝗻𝗱() help control it. Wrote a short blog to document my learning with simple examples. Read here: https://lnkd.in/gPxNPpDq Learning with Chai Aur Code #JavaScript #WebDev
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