r/javaScriptStudyGroup • u/[deleted] • Dec 19 '22
r/javaScriptStudyGroup • u/No-Upstairs-2813 • Nov 21 '22
Understanding Prototypes in JavaScript
In programming, we often want to take something and extend it.
As an example, we have an animal object with its properties and methods. We want to make cat
and dog objects with certain properties and methods on top of animal. We’d like to reuse what we have in animal, not copy/reimplement its methods, just build a new object on top of it.
Prototypes are the underlying feature in JavaScript that makes it possible for objects to inherit and share properties among themselves.
Check out the post to understand what prototypes really are and how they help in inheritance.
r/javaScriptStudyGroup • u/No-Upstairs-2813 • Nov 11 '22
Why does JavaScript have both null and undefined?
Most programming languages have a single value to indicate the absence of something, which is often called null and is used to represent a variable that has no value associated with it.
But JavaScript is different. Someone who is just starting out with JavaScript or coming from a different language usually finds it hard to understand, why there are two values that indicate absence: null and undefined
Check out the post to learn how these two are different.
r/javaScriptStudyGroup • u/xplodivity • Oct 22 '22
leetcode for frontend series | Part 6 of 97
A very interesting and tricky question on functions and objects in JavaScript explained in depth. Solving these type of questions will tremendously strengthen your knowledge in JavaScript.
r/javaScriptStudyGroup • u/milkncookies555 • Sep 06 '22
Can someone explain this code, specifically this.add.sprite (0,0, ‘my background’);
r/javaScriptStudyGroup • u/Creatingnothingnever • Aug 18 '22
How does this object know what it's 'key' and 'value' is?
I have some syntax I've been using for a while and I've never second guessed it's inner-workings. I am curious as to how this works. I would assume that it would be due to a form of destructuring, but I'm not sure if that's the case.
Say for example that i'd like to set a key/value pair to an object where my key is a variable of a string data-type:
const name = 'MyName'
obj = { name: name } This can also be accomplished with this syntax:
const name = 'MyName'
obj = {name}Like I said, I would assume syntax #2 would be a form of the object destructuring the variable to automatically set it's key/value, but I'm not sure If I'm truly understanding the way that it's working.
r/javaScriptStudyGroup • u/Heilsakai • Aug 17 '22
I am not able to make a value of 00 so I made one 0 a string so is there any other ways ?
r/javaScriptStudyGroup • u/marijan00 • Aug 15 '22
what am I doing wrong? I keep on getting an error for the second addEventlistener. my code is on the left side
r/javaScriptStudyGroup • u/DaCosmicOne • Jul 18 '22
Need help road mapping my JavaScript learning experience (Best Advice Please)
I want to learn and master JavaScript to the fullest. I’m not just trying to learn how to build web apps.
I have a verity of learning resources: (codecademy-Udemy-Codewars)
I just need to know the best way to structure my resources in order to create a straight forward roadmap.
Subjects: Design Patterns in JS, OOP JS, Functional Programming in JS, Asynchronous JavaScript, and Asynchronous JavaScript.
Can somebody map these out in stages for me?
I don’t want to skip over any prereq prematurely
Thanx!!!
r/javaScriptStudyGroup • u/cp-ankush • Jun 11 '22
Implement forEach function in javascript from the scratch | polyfill
r/javaScriptStudyGroup • u/farhan_tanvir_bd • May 31 '22
Useful VSCode extension
Hello everyone,
Here is a list of some useful VSCode extensions which may help in web development.
I hope it will help someone. Also if you know of any other good VSCode extension, Please share it. I would be grateful.
Thanks
r/javaScriptStudyGroup • u/SauravKumaR301 • May 29 '22
How and why JavaScript do this? 2 dates same ms?
r/javaScriptStudyGroup • u/xplodivity • May 08 '22
Everything about JavaScript this keyword | under 7 mins
The 'this' keyword in JavaScript can be confusing sometimes. So here's everything you need to know about the this keyword in depth. You will learn how this keyword works, what it means, how it differs when used with a normal or arrow function and much more.
Link: https://www.youtube.com/watch?v=b8Kv0JDKRM4

r/javaScriptStudyGroup • u/farhan_tanvir_bd • May 02 '22
Useful VSCode extension
Hello everyone,
Here is a list of some useful VSCode extensions which may help in web development.
I hope it will help someone. Also if you know of any other good VSCode extension, Please share it. I would be grateful.
Thanks
r/javaScriptStudyGroup • u/xplodivity • Apr 26 '22
Dynamic Progress Bar using JavaScript
I built a dynamic progress bar using JavaScript which changes based on the value and max value the user inputs. If any of you are curious regarding how to build this, here's a short 15 min tutorial
Link: https://www.youtube.com/watch?v=Ll5f0jGIqa4

r/javaScriptStudyGroup • u/xplodivity • Apr 23 '22
17 major React JS Interview questions
Here are 17 major react js interview questions that I have been asked during all my interviews yet under 5 minutes.
Link: https://www.youtube.com/watch?v=MzU_Fv2aj_g

r/javaScriptStudyGroup • u/xplodivity • Apr 14 '22
How react events are different from Javascript addEventListeners | Interview question
Recently I was asked about this question in an interview and didn't have enough knowledge to explain it in depth. After some research I finally understood the difference between react events and JavaScript addeventlisteners and when to use each of them based on the use case scenario in react. Its very important to understand the concept behind each of them and how they affect your application based on performance, and how "pooling" makes react events special. This 3 minute video explains everything you need to know.
r/javaScriptStudyGroup • u/farhan_tanvir_bd • Mar 21 '22
VS Code extension
Hello everyone,
Here is a list of some useful VSCode extensions which may help in web development.
I hope it will help someone. Also if you know of any other good VSCode extension, Please share it. I would be grateful.
Thanks
r/javaScriptStudyGroup • u/ViduraDananjaya • Mar 19 '22
How to Get Elements by Class Name in JavaScript
r/javaScriptStudyGroup • u/genzbiz • Feb 27 '22
How would you approach this? I wanted to use a switch but the variable is a constant.
r/javaScriptStudyGroup • u/Rajnish04 • Feb 26 '22