These are Lecture timestamps for my reference !! Lecture 1 – 00:00 – Introduction Lecture 2 – 23:00 – Variables and Datatypes Lecture 3 – 59:19 – Operators and Conditionals Lecture 4 – 2:01:47 – Loops and Strings Lecture 5 – 3:12:07 – Functions Lecture 6 – 3:43:05 – Arrays Lecture 7 – 4:32:29 – Call Stack and Hoisting Lecture 8 – 5:07:30 – Variable Scoping and Temporal Dead Zone Lecture 9 – 5:21:40 – Classes Lecture 10 – 5:50:47 – Inbuilt Objects in JS (Math and Date) Lecture 11 – 6:04:48 – Object Cloning & Garbage Collector Lecture 12 – 6:22:32 – Error Handling in JavaScript Lecture 13 – 6:43:26 – DOM Manipulation Lecture 14 – 8:03:20 – Browser Events Lecture 15 – 8:52:18 – Performance Improvement Lecture 16 – 9:14:35 – Event Loop Lecture 17 – 9:39:49 – Promises Lecture 18 – 10:04:40 – Async/Await Lecture 19 – 10:43:58 – Closures Lecture 20 – 11:02:17 – JavaScript Project
4:21:59 The find() method returns the first element in an array that satisfies a provided condition. If no element matches, it returns undefined. Example: const arr = [5, 12, 8, 130, 44]; const found = arr.find(num => num > 10); console.log(found); // 12 as a output 😊
4:04:10 -----------> splice () 4:06:17 -------------> map & filter 4:14:34 ===>>> Reduce 4:22:10 ------------> for - each, in, of loop 5:20:01 -------> temporal dead zone 6:09:15 ----------> Object Cloning 7:21:04 ---------> Creating & Append Child in DOM 7:34:20 ===>>> Child Removal. csstext = 7:43:16 7:48:45 --------> setAttribute() classList() -----> 7:58:22 Event Target -----> 8:08:00 till EventListener(). (And a best Practice) Event Object ------- 8:26:49 Default Function ------> 8:31:06 INTERVIEW PROBLEM : 8:33:32 - 8:48:14 8:52:19 -> Performance Improvement 9:07:50 Document Fragment [GOOD-PRACTICE] 9:39:49 -> Promise () 10:04:40 -> async - await , fetch()
4:21:18 To sort the array in descending order we will first run the arr.sort() method followed by arr.reverse() method.
JS used to be a bit difficult for me to grasp, but thanks to you, I'm able to understand it properly.!
4:22:00 find method:- let arr=[12,34,45,,67,78]; console.log(arr.find((num)=>num>60)); //return first occurence output:-67;
7:14:09 outerHTML gets or sets the entire HTML element, including its tags and content. It's used to replace, get, or remove an element along with its contents. Eg.... element.outerHTML = '<p>New Element</p>';
6:43:26 dom manipulate 9:14:35 event loop 9:39:49 promise 10:04:40 await 10:43:58 closure
4:20:59 arr.sort() without comparision function treated the elements as strings and sort in lexicographical order (dictionary order). // these are the correct method to sorting of a number in decending or accending order with comparision funciton. accending order: arr.sort((a,b) => a-b); decending order: arr.sort((a,b) => b-a);
TYSM !! I just wanted to take a moment to express my gratitude for the video on JavaScript that you shared. It was incredibly helpful, and we really needed it for our project. Your efforts in putting it together are greatly appreciated!
In JavaScript, if you have a child element, you can find its parent :: let child = document.getElementById("child"); let parent = child.parentElement; console.log(parent.id); // Output: "parent" let ancestor = child.closest("div"); // finds the nearest <div> parent
At this timestamp (8:41:19), we can write the entire alertpara function inside the for loop, and then it will work properly. example: let paras=document.querySelectorAll('p'); for(let i=0;i<paras.length;i++){ let para=paras[i]; function alertparas(){ alert("You have clicked on para: "+(i+1)); } para.addEventListener('click',alertparas); }
Iss course se javascript revision bahut hi acche level pe ho jaayga❤❤❤❤
JavaScript just got easier, thanks to you, Babbar Sir! Keep inspiring! 🙏🏾
3:45:25 Stack annd Heap Memory. 4:17:15 Reduce function 4:33:00 Call Stack and Hoisting 4:47:00 Function Call Stack 5:08:00 Variable Scoping
The Symbol is a primitive data type introduced in ES6 . It is used to create unique, immutable values that can be used as keys for object properties.
You are best teacher of programming era💓💓
12:10:04 different data of overall submission (easy, medium, hard) between circle and cards
I have watched a 3-hour 42-minute video, and I understood everything👌. I will provide my complete feedback at the end.
@rohan1618