Комментарии:
Liked the video .......
Got a clear understanding of the topic
thanks❤❤
Do you have a Stammering issue? I just feel it. Is it true?
ОтветитьThank You Sir
Ответитьsamjh nhi aya clearity nhi thi...
Ответитьsimple and to the point, thank you :)
ОтветитьThank you so much! 🙂
It was very clear. I was thinking that everything in JS is an object before watching this, but I was still confused a bit and had doubts about that. But you just confirmed that😊
So basically, everything in JS is an object. And each object has its own constructor (function that created it) with a prototype (another object) attached to it. And that prototype has another prototype attached to it, which is Object.prototype. And Object.prototype is the "parent of all", meaning that there's no more "nested" prototypes.
So we could say that everything starts from the Object constructor (function) ?
🚀
Object in JS be like : Aham brahmasmi 😌
Ответить❤
Ответитьits not working for me
ОтветитьAkshay Explanation is like: So Beautiful, So Elegant Looking Like a Wow. Really great explanation Akshay, its that simple. You have best teaching skills... Super👌👌👌
Ответитьso everthing in JS is an object
ОтветитьExplaination of prototype and prototypal inheritance topic is bit complex compare to your
other videos
EVERYTHING IN JAVASCRIPT IS AN OBJECT
and
EVERYTOPIC YOU EXPLAIN BECOMES CRYSTAL CLEAR
Thanks a ton for this detailed video 🙏
thanks
ОтветитьSuch complex concepts taught so beautifully with so much passion. Iam blessed to be your student watching and learning from your videos. No words to thank enough🙏🏼.
ОтветитьInterviewer asked me same question I explained it beautifully and he was surprised on my explanation and I got selected in interview too
Thanks to Akshay brother for giving super content
I found a much better and in depth explanation for this in an article on medium: Prototypal Object-Oriented Programming in Javascript by Prateek
ОтветитьI am a Namste React subscriber and have completed the complete JS tutorials and I did not find this video over there , in the interview, protypal inheritancewas asked and I could not answer is correctly, so please add this video in the Namste JS section please, so that other will not face this issue.
ОтветитьDo you know you are mentioned in T.O.P. ?
ОтветитьWould it be possible to have captions for those of us hard of hearing thankyou
ОтветитьHi bro ,
just now also I revised :) --- love you Boy
Thanks , that was great video
Ответить❤
Ответитьu explained very well, thanks a lot!
ОтветитьAppreciate if you include running notes and queries section in namastedev site
Ответитьyou are saving in 2024 too
ОтветитьWhy performance issues? Here what I found by doing a research.
1. By directly modifying the _proto_ we increase the time for prototype lookups, which means it again goes for another _proto_ chain
2. Also JS engines like v8 optimized to lookup for a stable prototype chain so by modifying the _proto_ chain we are de-optimizing it
Akshay plz create video on RxJS.
Ответитьif using ._proto_ is not the correct way to inherit from another object, then what is the correct way ?
Ответитьwow
ОтветитьNo wonder why Akshay is the best when it comes to JavaScript, I have just watched half of the video, and today my this query "€verything in JS is an object" is resolved. Today I got the real answer. Thank you, Akshay ❤ ☺️
ОтветитьWhat if we need freeze the object1 propery like name, it will not change but other properties get change
ОтветитьSuper great video Akshay! But why Array._proto_ would be same as Function.prototype ?? 🤔
But Function._proto_ is also Function.prototype 🤯🤯
Tq for replying akshay we are from the team Swami Vivekananda Indian Innovation Hub. Visit it when you visit hyd
Ответить🙏
ОтветитьThank you so much for indepth explanation.
Ответитьit took too long for me to understand, your explanation is not straight forward, but it has the point
ОтветитьThis is similar like making a class in c++ and when ever you create a object it create a constructure where you can also write functions or any code and its like similar when ever you make a object array and functions its create a object and it follows same constructure all of the funtion inside the construcute and each and every thing.
Ответитьwhere to use this in realtime project.
will this act like global variable and consume more memory when i attach multiple functionprototype?
please assit
Wow😮😮😮
Ответить😀 You are an awesome teacher Akshay
ОтветитьThank You
Ответитьeverything in js is not object
ОтветитьHello @everyone @akshay i just want to know is Prototype and _proto_ are same ?
Please Correct me if I am wrong please provide me clarity in this. as per my understanding
Prototype and _proto_ are different : Only Functions has prototype which provide us a free space or we can say and empty object. It is an object automatically created when a function is declared. The prototype is used to define properties or methods that should be inherited by instances created using that function as a constructor.
_proto_ : This _proto_ points to the prototype object of the constructor function that created the object.
could you please Explain below example ?
function showData(){
console.log('hello');
}
if(showData.prototype){
console.log(showData.prototype); // in this case it will print the prototype.
} else {
console.log('Prototype is not present );
}
but in case of array or object it will not print
Even null is an object 😂
Ответитьin simple to give property of your own to another is called prototype
ОтветитьFirst i like your video then watch it. :P
Ответить